diff options
Diffstat (limited to '1847/CH3/EX3.10')
-rwxr-xr-x | 1847/CH3/EX3.10/Ch03Ex10.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1847/CH3/EX3.10/Ch03Ex10.sce b/1847/CH3/EX3.10/Ch03Ex10.sce new file mode 100755 index 000000000..42fc42886 --- /dev/null +++ b/1847/CH3/EX3.10/Ch03Ex10.sce @@ -0,0 +1,12 @@ +// Scilab Code Ex3.10:: Page-3.24 (2009)
+clc; clear;
+f = 250; // Focal length of the lens, cm
+x = 0.8; // Half width of central maxima, cm
+lambda = 5500e-008; // Wavelength of light used, cm
+// As x = f*lambda/a, solving for a
+a = f*lambda/x; // Slit width in Fraunhofer single slit experiment
+
+printf("\nThe slit width = %5.3f cm", a);
+
+// Result
+// The slit width = 0.017 cm
|