An electromagnetic waveconsists of electrical oscillations and magnetic fields. The frequency of the wave is directly proportional to its energy and its speed and inversely proportional to its wavelength. Therefore, with the only magnitude with which it has no relation is with its amplitude.