A light wave has a frequency of 4×1014 Hz and a wavelength of 5×10−7 m in a medium. The refractive index of the medium is