A point of mass is connected to one end of the inextensible string of length l and the other end of the string fixed to the peg. The string is free to rotate in a vertical plane. How do you find the minimum velocity given to the mass in the horizontal direction so that it hits the peg in its subsequent motion?