in terms of the coordinate 0. The initial position is such that the string is horizontal and upon leaving the ball, the ball swings like a pendulum. Please note that the string is in-extensible and that the ball is small enough to betreated as a particle.
Fig: 1