summaryrefslogtreecommitdiff
path: root/1847/CH2/EX2.12/Ch02Ex12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1847/CH2/EX2.12/Ch02Ex12.sce')
-rwxr-xr-x1847/CH2/EX2.12/Ch02Ex12.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1847/CH2/EX2.12/Ch02Ex12.sce b/1847/CH2/EX2.12/Ch02Ex12.sce
new file mode 100755
index 000000000..ca474091e
--- /dev/null
+++ b/1847/CH2/EX2.12/Ch02Ex12.sce
@@ -0,0 +1,13 @@
+// Scilab Code Ex2.12:: Page-2.13 (2009)
+clc; clear;
+lambda = 5893e-008; // Wavelength of light used, cm
+y1 = 10; // Distance of biprism from the source, cm
+y2 = 100; // Distance of biprism from the screen, cm
+D = y1 + y2; // Distance between slits and the screen, cm
+b = 3.5e-02; // Fringe width of the interfernce pattern due to biprism, cm
+d = lambda*D/b; // Distance between coherent sources, cm
+
+printf("\nThe distance between coherent sources = %5.3f cm", d);
+
+// Result
+// The distance between coherent sources = 0.185 cm