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 /1871/CH4/EX4.34 | |
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 '1871/CH4/EX4.34')
-rwxr-xr-x | 1871/CH4/EX4.34/Ch04Ex34.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1871/CH4/EX4.34/Ch04Ex34.sce b/1871/CH4/EX4.34/Ch04Ex34.sce new file mode 100755 index 000000000..23877e601 --- /dev/null +++ b/1871/CH4/EX4.34/Ch04Ex34.sce @@ -0,0 +1,13 @@ +// Scilab code Ex4.34: : Pg:188 (2008)
+clc;clear;
+Lambda = 5896e-08; // Wavelength of light, cm
+d = 0.3; // Path difference between the M1 and M2 mirrors, cm
+r = 0; // For central bright fringe
+// Since 2*d*cos(r) = n*Lambda and for r = 0 which gives 2*d = n*Lambda
+// 2*d*cos_theta = (n-6)*Lambda, solving for theta
+theta = acosd(1-6*Lambda/(2*d)); // Angular radius of the seventh bright fringe, degree
+D = 2*theta; // Angular diameter of the seventh bright fringe, degree
+printf("\nThe angular diameter of 7th bright fringe = %1.0f degree", D);
+
+// Result
+// The angular diameter of 7th bright fringe = 4 degree
\ No newline at end of file |