In this case, the speed of light is not constant, but varies with the index of refraction, n, which itself varies linearly with distance, x. The speed of light in a medium is given by c/n, where c is the speed of light in vacuum and n is the index of refraction.
Show more…