If the wavelength is given, the energy can be determined by first using the wave equation (c = λ × ν) to find the frequency, then using Planck's equation to calculate energy.
Planck's equation E = hν
h = 6.63 × 10
-34
J·s c = 3.00 × 10
8 m/s v = frequency (Hz)