We know that the potential energy of a mass on a spring is given by the formula:
$U = \frac{1}{2} k x^2$
where $U$ is the potential energy, $k$ is the spring constant, and $x$ is the displacement from the equilibrium position. In this case, the displacement is
Show more…