The potential energy of spring is given by U=12kx2, where x is extension spring. Find the force associated with this potential energy in y direction.
An elastic spring of force constant k is compressed by an amount x. Then its potential energy will be