Title: A problem in the calculus of variations suggested by a problem in economics