Answer:
The energy [tex]E[/tex] of a photon is given by:
[tex]E=h\nu[/tex] (1)
Where:
[tex]h[/tex] is the Planck constant
[tex]\nu[/tex] is the frequency
On the other hand, there is an inverse relation between the frequency and the wavelength [tex]\lambda[/tex]:
[tex]\nu=\frac{c}{\lambda}[/tex] (2)
Where [tex]c[/tex] is the speed of light, which is also a constant.
If we substitute (2) in (1) we will have the following:
[tex]E=h\frac{c}{\lambda}[/tex] (3)
This means, there is direct relation between the energy and the frequency and there is an inverse relation between the energy and the wavelength.