Finding frequency of light from wavelength