Answer:
a) Em₀ = 2.35 J , b) y = 0.98 m
Step-by-step explanation:
Let's use that the mechanical energy of the system remains constant, for this we look for the energy at two points the highest and the lowest.
Higher
Em₀ = U = mg y₀
Lower
= U + Ke = m g
+ ½ k y²
a) Em₀ = m g y₀
Em₀ = 0.2 9.8 1.2
Em₀ = 2.35 J
Regarding the ground, where the potential energy is zero
b) Em₀ =
mg y₀ = mg
+ ½ k y²
In these equations the three heights are related
y = y₀ -

mg y₀ - mg
= ½ k y²
mg y = ½ ky²
y = 2mg / k
y = 2 0.2 9.8 / 20
y = 0.98 m