Text this: Functional Analysis, Calculus of Variations and Optimal Control