A block is attached to an unstretched vertical spring and released from rest. As a result of this