Energy Formula For Photons