Step-by-step explanation:
The energy of a photon is given by :
Where
h is Planck's constant
c is the speed of light
is wavelength
or
, f is the frequency
Energy is directly proportional to the frequency of an object.
The energy transported by a wave is directly proportional to the square of the amplitude.