To just loop-the-loop, the ball must have a speed v2 = \(\sqrt{2 Rg}\) at the bottom of the circular track.
If hmin is the minimum height above the bottom of the circular track from which the ball must be released, by the principle of conservation of energy, we have, mghmin
= \(\frac12\)\(mv^2_2\) = \(\frac12\)m(5Rg)
\(\therefore\) hmin = \(\frac52\)R = 2.5 R
Note : 1f the ball rolls all along the track without slipping, its total energy at the top of the circular track should take into account the rotational kinetic energy of the ball.