An illustration of the applicability of the functional-equation technique of dynamic programming to the computational solution of implicit variational problems. Questions of this type arise in connection with the problem of landing a rocket on the mo...