A.) A 0.2-kg block rests over a vertical spring confined to a barrel. It compresses the spring from its original length of 6.0 cm to 5.0 cm. Calculate the spring constant.
B.) Now a pin A is inserted to hold the block in place in the barrel and the device is turned into a horizontal position. When a is pulled up, calculate the speed of the block as it comes out of the barrel. Neglect friction.