Question: how to calculate frequency and wavelength given energy?
Answer: Because frequency and wavelength are related by a constant (c) the energy can also be written in terms of wavelength: E = h · c / λ. When the energy increases the wavelength decreases and vice versa. That is, energy in inversely proportional to wavelength.