A ray of light incident at an angle \(\theta\) in a rectangular prism grazes the surface of the prism on emerging from the prism. Determine the value of the angle. [Absolute refractive index of the material of the prism is 1.5]