Other bits
This video looks at how energy is stored and exchanged during simple harmonic motion (SHM), and how damping changes the picture. The notes below summarise the themes covered so you can revise them alongside the video.
In SHM, energy is continually transferred between kinetic energy and potential energy. At the equilibrium position the moving object has maximum kinetic energy and minimum potential energy; at the extremes of the motion the kinetic energy is momentarily zero and the potential energy is at a maximum.
For an undamped oscillator the total energy stays constant, and it depends on the amplitude of the motion. A larger amplitude means more energy is stored in the oscillation.
Damping removes energy from the oscillating system over time, so the amplitude of the motion decreases and the total energy falls. The video explores how this shows up in the energy picture of an SHM system.
They are continuously exchanged. Kinetic energy is greatest as the object passes through equilibrium, while potential energy is greatest at the extremes of the motion where the object momentarily stops.
The total energy of an undamped oscillator depends on its amplitude — a larger amplitude corresponds to more energy stored in the oscillation. For an undamped system the total energy remains constant.
Damping removes energy from the system, so the total energy decreases over time and the amplitude of the oscillation shrinks.
The energy is dissipated from the oscillating system as the motion is damped, which is why the amplitude gradually reduces.
The follow-up video, SHM Damping and Resonance, continues the topic. You can also revisit Deriving the Equation for a Mass on a Spring for the underlying equation of motion.