Photon Energy and Wavelength Calculation