Question: how do you work out energy stored?
Answer: Work is done when a spring is extended or compressed . Elastic potential energy is stored in the spring. ...  The elastic potential energy stored can be calculated using the equation: elastic potential energy = 0.5 × spring constant × (extension) 2