The change of the direction of a wave-front because of a change in the velocity…