Trajectory of a rocket