Oxford University Press Optimal Control and the Calculus of Variations