How To Solve For Energy Of Photon