summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.20.2
diff options
context:
space:
mode:
Diffstat (limited to '1949/CH1/EX1.20.2')
-rwxr-xr-x1949/CH1/EX1.20.2/1_20_2.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1949/CH1/EX1.20.2/1_20_2.sce b/1949/CH1/EX1.20.2/1_20_2.sce
new file mode 100755
index 000000000..13293ac76
--- /dev/null
+++ b/1949/CH1/EX1.20.2/1_20_2.sce
@@ -0,0 +1,15 @@
+//Chapter-1,Example 1_20_2,Page 1-53
+clc()
+
+//Given Data:
+r=45*%pi/180 //angle of refraction
+u=1.45 //Refractive index of a medium
+lam=5.5*10^-7 //wavelength of required yellow light
+n=1
+
+//Calculations:
+
+//Now, condition for dark fringe is
+//2ut*cos r=n*lam
+t=n*lam/(2*u*cos(r)) //thickness of thin medium
+printf('Thickness of the thin medium is =%.10f m',t)