Definition: Given a scientific question, generate a correct answer to it.
Input: What law explains how the change in direction of the light ray depends on how the speed of light changes, which in turn is related to the indices of refraction of the media involved?
Output:
law of refraction