Text this: Optimal control and the calculus of variations /