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.10/Ch03Ex10.sci | |
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.10/Ch03Ex10.sci')
-rwxr-xr-x | 1535/CH3/EX3.10/Ch03Ex10.sci | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1535/CH3/EX3.10/Ch03Ex10.sci b/1535/CH3/EX3.10/Ch03Ex10.sci new file mode 100755 index 000000000..96541f599 --- /dev/null +++ b/1535/CH3/EX3.10/Ch03Ex10.sci @@ -0,0 +1,10 @@ +// Scilab Code Ex3.10 : Page-73 (2010)
+lambda1 = 5896e-008; // Wavelength of D1 line of sodium, m
+lambda2 = 5890e-008; // Wavelength of D2 line of sodium, m
+lambda = (lambda1+lambda2)/2;
+// As lambda1 - lambda2 = lambda^2/(2*x), solving for x
+x = lambda^2/(2*(lambda1 - lambda2)); // Shift in movable mirror of Michelson Interferometer, cm
+printf("\nThe shift in movable mirror = %5.3f mm", x/1e-001);
+
+// Result
+// The shift in movable mirror = 0.289 mm
\ No newline at end of file |