diff options
Diffstat (limited to '1535/CH3/EX3.2')
-rwxr-xr-x | 1535/CH3/EX3.2/Ch03Ex2.sci | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1535/CH3/EX3.2/Ch03Ex2.sci b/1535/CH3/EX3.2/Ch03Ex2.sci new file mode 100755 index 000000000..80ecedfe0 --- /dev/null +++ b/1535/CH3/EX3.2/Ch03Ex2.sci @@ -0,0 +1,12 @@ +// Scilab Code Ex3.2 : Page-71 (2010)
+lambda1 = 4250e-010; // First wavelength emitted by source of light, m
+lambda2 = 5050e-010; // Second wavelength emitted by source of light, m
+D = 1.5; // Distance between the source and the screen, m
+d = 0.025e-03; // Distance between the slits, m
+n = 3; // Number of fringe from the centre
+x3 = n*lambda1*D/d; // Position of third bright fringe due to lambda1, m
+x3_prime = n*lambda2*D/d; // Position of third bright fringe due to lambda2, m
+printf("\nThe separation between the third bright fringe due to the two wavelengths = %4.2f cm", (x3_prime - x3)/1e-02);
+
+// Result
+// The separation between the third bright fringe due to the two wavelengths = 1.44 cm
\ No newline at end of file |