
Peter D. answered 06/20/15
Tutor
4.9
(112)
Physics PhD/Math BS + Programming:C/C++/Java + OS:Unix/Linux/Scripting
n1 sin theta1 = n2 sin theta2
n1 = 1 (assumed)
Assuming reflected and refracted rays are perpendicular,
incident ray at i wrt normal
reflected ray must be at angle i wrt normal
i + pi/2 is refracted ray's angle wrt outer normal
refracted angle is pi - (i + pi/2) = pi/2-i
n2 = sin i / sin (pi/2 - i)
sin(pi/2 - i) = sin pi/2 cos (i) - cos(pi/2) sin i = cos i
n2 = sin i / cos i = tan i
index of refraction of the slab is tan(i).