The velocity of light in a medium is half its velocity in air. If a ray of light emerges from such a medium into air, the angle of incidence, at which it will be totally internally reflected, is
Max angle is the critical angle, velocity is halved, hence