diff options
Diffstat (limited to '1949/CH1/EX1.20.1/1_20_1.sce')
-rwxr-xr-x | 1949/CH1/EX1.20.1/1_20_1.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/1949/CH1/EX1.20.1/1_20_1.sce b/1949/CH1/EX1.20.1/1_20_1.sce new file mode 100755 index 000000000..a37375d21 --- /dev/null +++ b/1949/CH1/EX1.20.1/1_20_1.sce @@ -0,0 +1,21 @@ +//Chapter-1,Example 1_20_1,Page 1-52
+clc()
+
+//Given Data:
+i=45*%pi/180 //angle of incidence
+u=1.2 //Refractive index of a film
+t=4*10^-7 //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 fringe is
+//2ut*cos r=n*lam
+lam1=2*u*t*cos(r)/1 //n=1
+printf('For n=1 wavelength is =%.10f m \n',lam1)
+printf(' This is in the visible spectrum and it will remain absent.\n \n')
+
+lam2=2*u*t*cos(r)/2 //n=2
+printf(' For n=2 wavelength is =%.10f m \n',lam2)
+printf(' This is not in the visible spectrum \n \n')
|