hint:

Make a drawing of the ball and the forces acting on it. The sum of the forces in the y-direction must equal zero, while the sum of those in the x-direction is equal to the centripital force.