Snell's law states that the ratio of the sines of the angles of incidence and refraction is equivalent to the ratio of phase velocities in the two mediums, or equivalent to the reciprocal of the ratio of the index of refraction
sinθisinθr=v2v1=n1n2
Where θ is the angle from the normal of the boundary and v is the velocity of light in the respective medium and λ is the wave length of the light in the medium and n is the refractive index of the medium.Given that,
Refractive index of glass block n2=1.5
Refractive index of air n1=1
Velocity of light in air, v1=c=3×108m/s
We know that,
n2n1=cv
1.51=3×108v2
v2=3×1081.5
v2=2×108m/s
Hence, the velocity of light in a glass is 2×108m/s