A 4.19-kg ball of clay is thrown downward from a height of 2.79 m with a speed of 4.21 m/s onto a spring with k = 1490 N/m. The clay compresses the spring a certain maximum amount before momentarily stopping.
a) Find the maximum compression of the spring.
b) Find the total work done on the clay during the spring's compression.