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.18 | |
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.18')
-rwxr-xr-x | 1949/CH1/EX1.18/1_18.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1949/CH1/EX1.18/1_18.sce b/1949/CH1/EX1.18/1_18.sce new file mode 100755 index 000000000..9e4df424e --- /dev/null +++ b/1949/CH1/EX1.18/1_18.sce @@ -0,0 +1,14 @@ +//Chapter-1,Example 1_18,Page 1-44
+clc()
+
+//Given Data:
+D10=0.5*10^-2 //Diameter of 10th ring
+lam=5.5*10^-7 //wavelength of light
+u=1.25 //Refractive index of liquid
+
+
+//Calculations:
+//As Dn^2=4*n*R*lam/u
+//Dn^2 is inversely proportional to refractive index.
+D10n=D10/sqrt(u) //new diameter of 10th ring after changing medium between lens and plate
+printf('new diameter of 10th ring after changing medium between lens and plate is =%.6f m \n',D10n)
|