A monochromatic ray of light is incident at an angle of \( 45^\circ \) on the face AB of a right-angled prism (\( A = 90^\circ \)), as shown in the figure. The emergent ray is refracted tangentially from the face AC. Find out the refractive index of the prism material.
