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 /1949/CH1/EX1.15 | |
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 '1949/CH1/EX1.15')
-rwxr-xr-x | 1949/CH1/EX1.15/1_15.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1949/CH1/EX1.15/1_15.sce b/1949/CH1/EX1.15/1_15.sce new file mode 100755 index 000000000..2e6520d2c --- /dev/null +++ b/1949/CH1/EX1.15/1_15.sce @@ -0,0 +1,15 @@ +//Chapter-1,Example 1_15,Page 1-42
+clc()
+
+//Given Data:
+n=6 //6th bright ring
+D6=0.31*10^-2 //Diameter of 6th ring
+lam=6*10^-7 //wavelength of light
+R=1 //Radius of curvature
+
+//Calculations:
+
+//Diameter of nth bright ring is
+//Dn^2=2(2n-1)*lam*R/u. Hence
+u=2*(2*n-1)*lam*R/(D6)^2 //Refractive index of liquid
+printf('Refractive index of liquid is =%.3f \n',u)
|