blob: 13293ac76b3a600130fbb4c2990b9b4eeb48b5fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
|