The frequency of an electromagnetic wave is most closely related to the wave's _________?
A. Energy
B. brightness
C. amplitude
D. speed