During refraction, what happens to a wave when it travels from one medium to another?

The wave travels in the opposite direction.

The wave changes speed.

The wave moves in the same direction.

The wavelength increases.