The work done by the spring on the block

One end of a spring is attached to a solid wall while the other end just reaches to the edge of a horizontal, frictionless tabletop, which is a distance H above the floor. A block of mass M is placed against the end of the spring and pushed toward the wall until the spring has been compressed a distance X. The block is released and strikes the floor a horizontal distance D from the edge of the table. Air resistance is negligible. Determine expressions for the following quantities in terms of M, X, D, H, and g. Note that these symbols do not include the spring constant.

Need to figure out these questions:
A) The horizontal component of the velocity of the block just before it hits the floor
B) The work done on the block by the spring
C) The spring constant k

Solution Summary

The solution is comprised of detailed explanations of the motion of a block which is released from a compressed spring.