diff options
Diffstat (limited to '2411/CH3/EX3.d.302/Ex3d_2.sce')
-rwxr-xr-x | 2411/CH3/EX3.d.302/Ex3d_2.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2411/CH3/EX3.d.302/Ex3d_2.sce b/2411/CH3/EX3.d.302/Ex3d_2.sce new file mode 100755 index 000000000..e05907a2c --- /dev/null +++ b/2411/CH3/EX3.d.302/Ex3d_2.sce @@ -0,0 +1,11 @@ +// Scilab Code Ex3d.2: Page-205 (2008)
+clc; clear;
+f = 20; // Focal length of the lens, cm
+a = 0.06; // Slit width, cm
+n = 2; // Order of diffraction
+lambda = 6e-005; // Wavelength of light used, cm
+x = 2*lambda*f/a; // Separation between the second minima on either side of the central maximum, cm
+printf("\nThe separation between the second minimum an central maximum = %4.2f cm", x);
+
+// Result
+// The separation between the second minimum an central maximum = 0.04 cm
\ No newline at end of file |