Title: Optimal trajectories in the vertical plane