What is the formula of elastic potential energy?

What is the formula of elastic potential energy?


Elastic potential energy = elastic work = ∫ (0-x) KX * DX = 1 / 2 K * x ^ 2, where k is the elastic coefficient and X is the compression. Note: X in this formula must be within the elastic limit of the spring



What is the calculation formula of elastic potential energy?
The elastic potential energy of a spring. Because I can't conserve energy


Wrong. The K (in N / M) is the stiffness coefficient, not the elastic potential energy
E = kx2 / 2 elastic potential energy = stiffness coefficient * elastic deformation divided by 2
Let's wait until work = force * distance elasticity = 1 / 2 * stiffness coefficient * elastic deformation. For a spring, work = energy, that is, the change of elastic potential energy, and distance = deformation
So elastic potential energy = 1 / 2 * force * elastic deformation * elastic deformation
See



Expression of elastic potential energy


Elastic force F = k * x, variable force, work w = f '* l, F'f, so f' = 1 / 2 * F, l = X
Potential energy E = w = 1 / 2 * f * x ^ 2