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 constant, and $x$ is the displacement from the equilibrium position.
Show more…