Primer on the calculus of variations and optimal control theory - Meszaros, Istvan (Rhode Island, 2009)