summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.22/1_22.sce
blob: 6b3c03b52d7b622f09a7c0589547a8da7170335b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Chapter-1,Example 1_22,Page 1-46
clc()

//Given Data:
u=1.5               //Refractive index of a oil
lam=5.88*10^-7      //wavelength of required yellow light
n=1                 //for smallest thickness
r=60*%pi/180        //angle of reflection

//Calculations:

//Now, condition for dark fringe is
//2ut*cos r=n*lam
t=n*lam/(2*u*cos(r))      //thickness of film
printf('Thickness of the film is =%.10f m',t)