Energy is directly associated with the frequency of the waves, while wavelength and frequency have an inverse relationship.