Consider a mass (m) suspended by a spring (k) and undergoes a static deflection X.
1. Force equilibrium method: k*X = m*g , gives X = m*g/k
2. Energy method: According to work energy principle, work done by weight of m (or change in PE of m) is equal to the potential energy stored in the spring.
m*g*X = k*X^2/2, gives X = 2*m*g/k
How to resolve the contradiction between these two methods?
Is there any mistake in the approach?