Question: what is the relationship between sin i and sin r?
Answer: When light is travelling from air to a denser medium, the angle of incidence and angle of refraction are related by the ratio sin i / sin r = n whereby n is the refractive index of the denser medium.