A ray of light travelling inside a glass slab of refractive index 1.52 strikes the glass–air surface at an angle of incidence of 50∘. Calculate the critical angle for the interface and state whether the ray will emerge into air or undergo total internal reflection.