Snell’s Law
Snell’s Law, or law of refraction, describes the relationship between the angles of incidence and refraction index in refraction.
Note that Snell’s Law doesn’t always have a solution. When it does not have a solution, total internal reflection happens.