HW4Solutions_S08

HW4Solutions_S08 - M92= 3 £>m 3'5L 94“ => 9...

Info icon This preview shows pages 1–14. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 6
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 8
Image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
Image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 12
Image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 14
This is the end of the preview. Sign up to access the rest of the 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.fl (air) and nt=l.5 (glues). he an" 2.4: mil :4 '% Set up the angle interval for thi thi=lpiffll*[fl:l£6]fl£fi; 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*llfiflfpi)j thtl=tht1*tlefl!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, fit$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. MMMHE-Eaiaiaéfibé‘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.fl,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*tifiD/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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern