Energy changes in according to displacement
The kinetic energy of a simple harmonic oscillator is
In a SHM, the oscillator’s kinetic energy and potential energy always changes from maximum to zero throughout the oscillations. However, at all time, the total energy of the oscillator is constant. This value can be obtained by calculating the maximum kinetic energy of the system:
To find out the potential energy of a simple harmonic oscillator,
The energy changes of an SHM oscillator changes in a sinusoidal pattern.
Energy changes according to time
From the velocity equation, the kinetic energy is
The potential energy is the difference between the total energy and the kinetic energy,