A 263-g block is dropped onto a vertical spring with force constant k = 2.52 N/cm (see the figure below).
The block sticks to the spring, and the spring compresses 11.8 cm before coming momentarily to rest.
While the spring is being compressed, how much work is done
(a) by the force of gravity and
(b) by the spring?
(c) What was the speed of the block just before it hit the spring?
(d) If this initial speed of the block is doubled, what is the maximum compression of the spring? Ignore friction.