A parallel beam of light is incident from air at an angle a on the side PQ of a right-angled triangular prism of refractive index n=√2. The beam of light undergoes total internal reflection in the prism at the face PR when a has a minimum value of 45∘. The angle θ of the prism is