How is refractive index of a medium 2 given with respect to medium 1 related to speed of light? where, n1 and n2 are the respective refractive indicies of medium 1 and medium 2. And, c1 and c2 are speed of light in medium 1 and medium 2 respectively.