summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.30
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1949/CH1/EX1.30
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 '1949/CH1/EX1.30')
-rwxr-xr-x1949/CH1/EX1.30/1_30.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1949/CH1/EX1.30/1_30.sce b/1949/CH1/EX1.30/1_30.sce
new file mode 100755
index 000000000..643103f19
--- /dev/null
+++ b/1949/CH1/EX1.30/1_30.sce
@@ -0,0 +1,13 @@
+//Chapter-1,Example 1_30,Page 1-51
+clc()
+
+//Given Data:
+D5=0.336*10^-2 //Diameter of 5th ring
+D15=0.59*10^-2 //Diameter of 15th ring
+p=10 //n=5,n+p=15
+R=1 //Radius of curvature
+
+//Calculations:
+//(Dn+p)^2-Dn^2=4*p*lam*R/u
+lam=((D15)^2-D5^2)/(4*p*R) //Wavelength of light
+printf('Wavelength of light is =%.10f m',lam)