Given that the mass is m = 0.2 kg and the displacement is x = 3 cm = 0.03 m
We have to find the spring constant and potential energy.
The spring constant can be calculated by the formula
[tex]\begin{gathered} F=\text{ kx} \\ mg\text{ = kx} \\ k\text{ = }\frac{mg}{x} \end{gathered}[/tex]Here, k is the spring constant.
g = 9.8 m/s^2 is the acceleration due to gravity.
Substituting the values, the spring constant will be
[tex]\begin{gathered} k=\frac{0.2\times9.8}{0.03} \\ =\text{ 65.33 N/m } \end{gathered}[/tex]The potential energy can be calculated as
[tex]\begin{gathered} U=\frac{1}{2}kx^2 \\ =\frac{1}{2}\times65.33\text{ }\times(0.03)^2 \\ =\text{ 0.0293 J} \end{gathered}[/tex]