Text this: Optimal control theory with aerospace applications