summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.6/1_6.sce
blob: ca3d30ebe1bb51dbaa0a50b15ecdf200f6d67c3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//Chapter-1,Example 1_6,Page 1-18
clc()

//Given Data:
lam=5.893*10^-7       //Wavelength of light
u=1.42                //Refractive index of a soap film
r=0                   //normal incidence
n=1                   //first band

//Calculations:

//i)
//Condition for dark fringe is
//2ut*cos r=n*lam
t1=n*lam/(2*u*cos(r))      //thickness of film for dark black fringe
printf('Thickness of the film for dark black fringe is =%.10f m \n \n',t1)

//ii)
//Now, condition for bright fringe is
//2ut*cos r=(2n-1)lam/2
t2=lam/(2*2*u*cos(r))      //Thickness of film for bright fringe
printf(' Thickness of film for bright fringe is =%.10f m \n \n',t2)