summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.18/1_18.sce
diff options
context:
space:
mode:
Diffstat (limited to '1949/CH1/EX1.18/1_18.sce')
-rwxr-xr-x1949/CH1/EX1.18/1_18.sce14
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)