summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.25/1_25.sce
diff options
context:
space:
mode:
Diffstat (limited to '1949/CH1/EX1.25/1_25.sce')
-rwxr-xr-x1949/CH1/EX1.25/1_25.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1949/CH1/EX1.25/1_25.sce b/1949/CH1/EX1.25/1_25.sce
new file mode 100755
index 000000000..032370372
--- /dev/null
+++ b/1949/CH1/EX1.25/1_25.sce
@@ -0,0 +1,14 @@
+//Chapter-1,Example 1_25,Page 1-47
+clc()
+
+//Given Data:
+lam1=6*10^-7 //wavelength of light
+lam2=4.5*10^-7 //wavelength of light
+R=0.9 //Radius of curvature
+
+//Calculations:
+//As Dn^2=4*n*R*lam.
+//Dn^2=D(n+1)^2 for different wavelengths.we get,
+n=lam2/(lam1-lam2) //nth dark ring due to lam1 which coincides with (n+1)th dark ring due lam2
+D3=sqrt(4*n*R*lam1) //diameter of 3rd dark ring for lam1
+printf('Diameter of 3rd dark ring for lam1 is =%.5f m \n',D3)