This relationship is given by Snell's law:
$$n_1 \sin \theta_i = n_2 \sin \theta_r$$
where $n_1$ is the index of refraction of the medium the light is coming from (in this case, air) and $n_2$ is the index of refraction of the medium the light is entering (in
Show more…