When an electromagnetic wave travels from a medium to the other,its wavelength changes but its frequency remains constant. So the energy also changes.
If we consider a particular photon,its frequency does not change so its energy should not change as energy = h
.
.Also the wavelength of the photons change in the above conditions,so its energy should change as Energy = hc/
.
.So what is the reason of this contradiction and what actualy happens?










