This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: M92=( / 3
£>m 3'5L 94“ => 9 ‘‘—4—5'°
4/3 ' 2.  HtLTHi : FHLIIthl'l '1. 16’ Edit Leg: CEBEJ _ _ The requested Blot of thi ue. tht
requires npplitatien of Snell's Law
where ni=l.ﬂ (air) and nt=l.5 (glues). he an" 2.4: mil :4 '% Set up the angle interval for thi thi=lpifﬂl*[ﬂ:l£6]fl£ﬁ;
3 Calculate tht from Snell'e Law in 2 etepe
x=einlthil£ thtl=aeinlx£l.5); x See what happens if at decreases to 1.3
tht2=ueinlx!l.3); E For better viewing, change all angles to "degrees"
thi=thi*llﬁﬂfpi)j thtl=tht1*tleﬂ!pi); tht2=tht2*£160!pi); lflllta’L'LU'll,thtlJthiJLhtZJ 'EI'} Angle of memissmn (deg; ID ED Hec'm Problem 4'18 40 50 Maggie of Incidence (deg) 60 70 BB 9] l‘uill1\I\.ll _uu IPLII \‘1IIIJIILf ' me (‘hT: [‘OL) l6, ﬁt$t¥t¥¥¥$$tit*tttt*t$*$$$*¥$¥¥t$¥tt*tt$ttttt$t$¥¥$$¥ I Edit Lag: BEBE Program rpara calculates the parallel reflection
and transmission coefficients from the Fresnel Equation,
see Hecht: p.l12 (Eqns. 4.40 and 4.41).
rpara =tnt*cos(thi)ni*costtht)} I {ni*cos(tht)+nt*cos(thil} tpara ={2*ni*cos(thili f ini‘cositht)+nt*cos{thi)i The input parameters. which can be changed in the function
coiling statement, are: ni = index of refraction of the incident medium nt = index of refraction of the transmission medium The other input parameters are thi, the angle of incidence. which
will be assigned a range of values inside this program; and tht,
the angle of refraction, which is calculated from Snell's Law. MMMHEEaiaiaéﬁbé‘ei From the matlab enuironment. gou access this program hg tgping
krrparat“l,“2) where you insert real numbers for itl and a2 refractive indices. Eg., Pbrparail.ﬂ,l.52).
3*********$*$$***$*************$****$$**$¥*$*¥*¥*$*¥$ ISet the range on incident theta:
thi=[U:piI256:pi£2]j .Snell's law is used to compute the angle of refraction.
tht = asintni*sin(thi)!nt); Stalculate denominator from the Fresnel Eans.
rdenom=ni*cos(tht) + nt*cos{thi); E Calculate r—para and t—para from the Fresnel Eons. 3 Hate the use of the "dot" to signal ”diuide element bg element“:
rpara = (nt*cos(thi)—ni*cos(tht))./rdenom;
tpara =_(2*ni*cos(thii).!rdenom; 3 Change the angles to "degrees"
thi=thi*tiﬁD/Di)i
tht=tht*il60fpi); EPlot rpara and tpara us. theta incident
plotithi,rpara,thi,tpara. 'o'); 3 Return values to the main matlab environment in F x case gau want to see them, or process them further. Here, X please note that the arguments of coef must be COLUMNS. hence 3 the use of the "prime" sgmhol for "transpose" of a matrix. coef=[thi' tht' rpara' tparo'}; ...
View
Full Document
 Spring '08
 CEBE

Click to edit the document details