A combination of the classical Lagrange multiplier formalism and the functional equation technique of dynamic programming enables us to treat a number of types of variational problems involving the ...