Is there a formula to work out the energy associated with x-rays when i have a frequency and wavelength?