(a) The compression of the spring is 0.074 m.
(b) The potential energy of block will be converted to elastic potential energy of the spring when the block comes to rest.
The compression of the spring is calculated as follows;
F = kx
mg = kx
x = mg/k
where;
x = (3 x 9.8) / (400)
x = 0.074 m
Based on the principle of conservation of energy, the potential energy of block will be converted to elastic potential energy of the spring when the block comes to rest.
Learn more about elastic potential energy here: https://brainly.com/question/25996974
#SPJ1