(Probably by the time I'm done writing this someone would have linked you to a post that already explains this problem, but what the hell!)
At the top of the loop, the centripetal force is the combination of two forces - the normal force and the weight of the object. For the circular motion to continue, this condition must be met:
[tex]F_c = N + mg = ma_c = m\frac{v^2}{r}[/tex]
[tex]a_c = \frac{N}{m} + g = \frac{v^2}{r}[/tex]
The lower we drop the object from, the lower it velocity will be when it reaches the top of the loop. However, it has a minimal value below which the object will simply fall of the track. As you can see in the formula above, the minimum value of the centripetal acceleration at the top is g, in which case there is normal force. Therefore the minimal velocity at the top is:
[tex]ma_c = mg = m\frac{v_{min}^2}{r}[/tex]
[tex]v_{min}^2 = gr[/tex]
That's the speed of the object at 2r above the ground. Thanks to conservation of energy we see that:
[tex]\Delta E_p + \Delta E_k = (2mgr - mgh) + (\frac{1}{2}mv_{min}^2 - 0) = 0[/tex]
[tex]4gr - 2gh + v_{min}^2 = 0[/tex]
Now just substitute v
min2 and solve for h.
