calculate the radius of circular path on which the ball moves.