A spring with spring constant 10 N/m has a mass of 0.2 kg attached to it, and is hanging from the ceiling. The mass is released from rest in a position where the spring is not stretched. Compute the work on the mass by (a) gravity and (b) the spring during the time that the mass drops a vertical distance of 10 cm.