Relationship between wavelength and energy