The presentation of an approach to the nonparametric simple problem of the calculus of variations in the spirit of dynamic programming. Under the assumptions that the functions that define minimizing curves exhibit a certain regularity in their beha...