-
And we determine the distance the catapult must move in this case.

Input := 


d[theta]/.sol[[1]]//N

Output =


415.039