How does light accelerate back to its original speed after refraction from another medium e.g. glass or water

496 views

The speed of light slows as it traverses through a different medium, but after slowing it finds a way to accelerate back to original speed as it exits that medium. How does it do that?

In: 93