Two waves have the same amplitude and are traveling through the same medium, but the first wave has a higher frequency. The energy of the first wave is greater than that of the second.

True or false?