In vacuum, the wave has a wavelength of

and it travels at speed of light

So its frequency is

The frequency of an electromagnetic wave does not change when moving from a medium to another, and since the new speed of the wave in the liquid is

we can find its new wavelength when moving in the liquid:
