summaryrefslogtreecommitdiff
path: root/2411/CH3/EX3.c.205/Ex3c_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2411/CH3/EX3.c.205/Ex3c_5.sce')
-rwxr-xr-x2411/CH3/EX3.c.205/Ex3c_5.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2411/CH3/EX3.c.205/Ex3c_5.sce b/2411/CH3/EX3.c.205/Ex3c_5.sce
new file mode 100755
index 000000000..3bf4339bb
--- /dev/null
+++ b/2411/CH3/EX3.c.205/Ex3c_5.sce
@@ -0,0 +1,10 @@
+// Scilab Code Ex3c.5: Page-185 (2008)
+clc; clear;
+D = 80; // Distance between the source and the slit, cm
+lambda = 5890e-008; // Wavelength of light, cm
+bita = 9.424e-002; // Fringe width, cm
+d = lambda*D/bita; // Separation between the two slits, cm
+printf("\nThe distance between the two coherent sources = %4.2f cm", d);
+
+// Result
+// The distance between the two coherent sources = 0.05 cm \ No newline at end of file