When the ball reaches point B, then potential energy = kinetic energy
or mgh = \(\frac{1}{2}mv_B{}^2 \Rightarrow\ V_B = \sqrt{2gh}\)
For completing vertical circular path i.e., to reach highest point C, the velocity at B should be equal to critical velocity at lowest point of vertical circle.
i.e., vB = \(\sqrt{5rg}\)
\(\therefore\ \sqrt{2gh} = \sqrt{5rg} = \sqrt{2h} = \sqrt{5r}\)
or h \( = \frac{5}{2}r\)