Hello, I am studying about waves and simple harmonic motion. I have a confusion; when we studied the formula for period of pendulum and spring (T=2pi(rad(m/k))), it can be deduced that period doesn't depend on amplitude and so does frequency (T=1/f) Then we learned about how amplitude and energy are proportional. But then recently I was reading about electromagnetic waves and it said that "the energy transmitted by the waves is in direct proportion to their frequencies." So how is frequency and energy related if frequency and amplitude are not??