summaryrefslogtreecommitdiff
path: root/1847/CH2/EX2.71/Ch02Ex71.sce
diff options
context:
space:
mode:
Diffstat (limited to '1847/CH2/EX2.71/Ch02Ex71.sce')
-rwxr-xr-x1847/CH2/EX2.71/Ch02Ex71.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1847/CH2/EX2.71/Ch02Ex71.sce b/1847/CH2/EX2.71/Ch02Ex71.sce
new file mode 100755
index 000000000..c84427e61
--- /dev/null
+++ b/1847/CH2/EX2.71/Ch02Ex71.sce
@@ -0,0 +1,11 @@
+// Scilab Code Ex2.71:: Page-2.58(2009)
+clc; clear;
+delta_x = 0.02559e-01; // Displacement in movable mirror, cm
+lambda = 5890e-008; // Wavelength of light used, cm
+// As N*lambda/2 = delta_x, solving for N
+N = 2*delta_x/lambda; // Number of fringes crossing the field of view
+
+printf("\nThe number of fringes that passes across the cross wire of telescope = %2d", ceil(N));
+
+// Result
+// The number of fringes that passes across the cross wire of telescope = 87