Text this: Calculus of variations and control theory :