The total energy of the oscillator is the sum of its kinetic energy and potential energy. The kinetic energy is given by $\frac{1}{2}mv^2$ and the potential energy is given by $\frac{1}{2}kx^2$, where $m$ is the mass, $v$ is the velocity, $k$ is the spring
Show more…