diff options
Diffstat (limited to '1871/CH4/EX4.8/Ch04Ex8.sce')
-rwxr-xr-x | 1871/CH4/EX4.8/Ch04Ex8.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1871/CH4/EX4.8/Ch04Ex8.sce b/1871/CH4/EX4.8/Ch04Ex8.sce new file mode 100755 index 000000000..a3cc1039a --- /dev/null +++ b/1871/CH4/EX4.8/Ch04Ex8.sce @@ -0,0 +1,12 @@ +// Scilab code Ex4.8 : Pg:146 (2008)
+clc;clear;
+D = 200; // Distance between the source and the screen, cm
+Lambda = 5100e-08; // Wavelength of light, cm
+x = 2; // Separation of fringes, cm
+n = 10; // number of fringes
+omega = x/n; // Fringe width, cm
+d = D*Lambda/(2*omega); // Double slit separation, mm
+printf("\nThe double slit separation = %4.2f mm", 2*d*10);
+
+// Result
+// The double slit separation = 0.51 mm
\ No newline at end of file |