summaryrefslogtreecommitdiff
path: root/1847/CH2/EX2.69/Ch02Ex69.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1847/CH2/EX2.69/Ch02Ex69.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1847/CH2/EX2.69/Ch02Ex69.sce')
-rwxr-xr-x1847/CH2/EX2.69/Ch02Ex69.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1847/CH2/EX2.69/Ch02Ex69.sce b/1847/CH2/EX2.69/Ch02Ex69.sce
new file mode 100755
index 000000000..52fe7d113
--- /dev/null
+++ b/1847/CH2/EX2.69/Ch02Ex69.sce
@@ -0,0 +1,12 @@
+// Scilab Code Ex2.69:: Page-2.51(2009)
+clc; clear;
+R = 100; // Radius of curvature of plano-convex lens, cm
+D15 = 0.590; // Diameter of 15th dark ring, cm
+D5 = 0.336; // Diameter of 5th dark ring, cm
+p = 10; // Order of 10th Newton ring after 5th ring
+lambda = (D15^2-D5^2)/(4*p*R); // Wavelength of light used, cm
+
+printf("\nThe wavelength of light used = %4.0f ansgtrom", lambda/1e-008);
+
+// Result
+// The wavelength of light used = 5880 ansgtrom