diff options
Diffstat (limited to '1847/CH3/EX3.19')
-rwxr-xr-x | 1847/CH3/EX3.19/Ch03Ex19.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1847/CH3/EX3.19/Ch03Ex19.sce b/1847/CH3/EX3.19/Ch03Ex19.sce new file mode 100755 index 000000000..0b5506c41 --- /dev/null +++ b/1847/CH3/EX3.19/Ch03Ex19.sce @@ -0,0 +1,15 @@ +// Scilab Code Ex3.19:: Page-3.31 (2009)
+clc; clear;
+f = 150; // Distance between screen and slit, cm
+a = 0.005; // Slit width, cm
+b = 0.06; // Distance between slits, cm
+lambda = 5500e-008; // Wavelength of light used, cm
+// As half angular separation, theta1 = x1/f = lambda/(2*(a+b)), solving for x1
+x1 = f*lambda/(2*(a+b)); // Distance between central maxima and first minima, cm
+delta_theta = lambda/(2*(a+b)); // Angular separation between two consecutive minima, radians
+printf("\nThe distance between central maxima and first minima = %4.2e cm", x1);
+printf("\nThe angular separation between two consecutive minima = %3.1e radians", delta_theta);
+
+// Result
+// The distance between central maxima and first minima = 6.35e-002 cm
+// The angular separation between two consecutive minima = 4.2e-004 radians
|