summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.17
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.17
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.17')
-rwxr-xr-x1949/CH1/EX1.17/1_17.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1949/CH1/EX1.17/1_17.sce b/1949/CH1/EX1.17/1_17.sce
new file mode 100755
index 000000000..be905679a
--- /dev/null
+++ b/1949/CH1/EX1.17/1_17.sce
@@ -0,0 +1,14 @@
+//Chapter-1,Example 1_17,Page 1-43
+clc()
+
+//Given Data:
+Dn=0.225*10^-2 //Diameter of nth ring
+Dm=0.45*10^-2 //Diameter of (n+9)th ring
+lam=6*10^-7 //wavelength of light
+R=0.9 //Radius of curvature
+p=9
+
+//Calculations:
+//(Dn+p)^2-Dn^2=4*p*lam*R/u
+u=4*p*lam*R/((Dm)^2-Dn^2) //Refractive index of liquid
+printf('Refractive index of liquid is =%.2f \n',u)