diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1535/CH3/EX3.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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 |