At the top of the circle, the net force on the ball is pointing downward, so that by Newton's second law

where
because the ball is undergoing circular motion with constant speed.
Plug in everything you know and solve for
.

Plug this into the acceleration equation and solve for
.
