Python adaptation of Appendix A of "Optimal Control with Aerospace Applications" by Longuski, Guzmán, and Prussing Original MATLAB files are included for reference