summaryrefslogtreecommitdiff
path: root/3845/CH27/EX27.6/Ex27_6.sce
blob: bb8ec727b3bba923407652a1f4280ae4609da3b5 (plain)
1
2
3
4
5
6
7
8
9
//Example 27.6
lambda=550*10^-9;//Wavelength of light (m)
n2=1.38;//Index of refraction of magnesium fluoride film
lambda_n_2=lambda/n2;//Wavelength in the film (m)
//For destructive interference here, 2t=lambda_n_2/2, where path length difference=2t for perpendicularly incident rays
t=lambda_n_2/4;//Thickness of the film (m)
printf('Thickness of the magnesium fluoride film = %0.1f nm',t/10^-9)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest