A small bead of mass M slides on a smooth wire that is bent in a circle of radius R. It is released at the top of the circular part of the wire (point A in the figure) with a negligibly small velocity. Find the height H where the bead will reverse direction :