An electromagnetic wave has 2 kinds of energy. What determines the energy of a photon?
a. Period
b. Amplitude
c. Speed
d. Frequency