Requiring total internal reflection at the point B implies

and Snell’s Law applied at the point A gives

n sin (θ_{1}) = sin (θ_{0}),

where n is the index of refraction of the glass and θ0 is the incident angle. Squaring the first equation and using the second equation gives