||This article has many issues. Please help fix them or discuss these issues on the talk page.
Snell's law is the scientific law of the refraction of light or other waves. In optical science, Snell's law is about the relationship between the angles of incoming and outgoing light to the refractive indices of the mediums. The law states that when light passes through different materials (for example from air to glass) the ratio of sines of the incidence (incoming) angle and the refraction (outgoing) angle does not change:
with each as the angle measured from the normal of the boundary, as the velocity of light in the respective medium (SI units are meters per second, or m/s) and as the refractive index (which has no units) of the medium. The index of refraction of a vacuum is 1 and the velocity of light in a vacuum is . When a wave passes the material where the index of refraction is n, the velocity of the wave becomes .
Snell's law can be proved by Fermat's principle. Fermat's principle states that light travels along the path which takes the least time. We can understand Fermat's principle through an example in which when we run to the water from the sands to save a drowning person. In this case, our speeds change as we move from sand to water.
There are many other examples of Snell's Law. Also, The shortest time principle relates to this