It is given that:
Mass of the body, m = 2 kg
Time period of the spring mass system, T = 4 s
The time period for spring-mass system is given as,
where k is the spring constant.
On substituting the respective values, we get:
As the restoring force is balanced by the weight, we can write:
F = mg = kx
∴ Potential Energy of the spring is,