Ascent and descent guidance of multistage rockets via pseudospectral methods | Synapse