If a spring extends by x on loading, then energy stored by the spring is (Given: T is the tension in spring and k is spring constant)