A ray of light passes from medium 1 to medium 2. Which of the following quantities of the refracted ray will differ from that of incident ray: speed, intensity, frequency and wavelength?