Text this: Optimal control: an introduction to the theory and its applications