We know that light becomes slower in a medium. Therefore, the time it takes to travel in air is
t1=(dl+dg)/c. The time it takes to travel in the mediums is
t2=(nldl+ngdg)/c. Therefore, the difference in time is
t=t2−t1. The refractive index of glass is
ng=dgct−dl(nl−1)+1=1.52
Comments