A primer on the calculus of variations and optimal control theory - Mesterton-Gibbons, Mike (Student mathematical library ;, 2009)