One end of a spring of natural length h and spring constant k is fixed at the ground and the other is fitted with a smooth ring of mass m which is allowed to slide on a horizontal rod fixed at a height h. Initially, the spring makes an angle of 37° with the vertical when the system is released from rest. The speed of the ring when the spring becomes vertical is