Calculus of Variations and Optimal Control by Alexander Ioffe