summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.26/1_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '1949/CH1/EX1.26/1_26.sce')
-rwxr-xr-x1949/CH1/EX1.26/1_26.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1949/CH1/EX1.26/1_26.sce b/1949/CH1/EX1.26/1_26.sce
new file mode 100755
index 000000000..fd819fab3
--- /dev/null
+++ b/1949/CH1/EX1.26/1_26.sce
@@ -0,0 +1,17 @@
+//Chapter-1,Example 1_26,Page 1-48
+clc()
+
+//Given Data:
+i=45*%pi/180 //angle of incidence
+u=4/3 //Refractive index of soap film
+lam=5*10^-7 //wavelength of light
+t=1.5*10^-6 //thickness of film
+
+//Calculations:
+//u=sin i/sin r //Snell's law .So,
+r=asin(sin(i)/u) //angle of reflection
+
+//Now, condition for dark band is
+//2ut*cos r=n*lam
+n=2*u*t*cos(r)/lam //order of band
+printf('order of dark band is =%.1f \n',n)