$${0 – \frac{1}{2} mv^2 = – \frac{1}{2} kd^2}$$