At equilibrium, the restoring force of the spring balances the weight of the mass:
mg=kx0
k=x0mg=2×10−30.2×10=1000 N/m
The frequency of oscillation is given by:
f=2π1mk
f=2π10.21000=2π15000=2π1050=π550 Hz
The maximum energy in the spring corresponds to its maximum elastic potential energy, which occurs at the maximum extension.
Maximum extension xmax=x0+A=2 mm+2 mm=4 mm=4×10−3 m
Maximum energy in the spring Umax=21kxmax2
Umax=21×1000×(4×10−3)2
Umax=500×16×10−6=8000×10−6=8×10−3 J
Answer: π550 and 8×10−3