As shown in the diagram, when the incident ray is parallel to base of the prism, the emergent ray grazes along the second surface.If refractive index of the material of prism is , the angle of prism is.

Let the refracting angle (apex angle) of the prism be .
From the geometry of the triangle, the sum of the angles is :
1.Refraction at the first surface
The incident ray is parallel to the base. Because the left base angle is , the angle between the incident ray and the prism face is . Therefore, the angle of incidence with respect to the normal is:
Applying Snell's Law at the first interface (air to glass):
2: Refraction at the second surface
The emergent ray grazes the second surface, meaning the angle of emergence is .
Applying Snell's Law at the second interface (glass to air):
3: Calculating the angle
For a prism, the apex angle is equal to the sum of the internal angles of refraction:
Substitute the value of back into Equation 1:
Tagged Refraction at plane surfaces, Snell's law and apparent depth. Machine-assigned, so read it as a strong shortlist rather than a verdict.