Optimal control theory of distributed parameter systems is a rapidly developing subject [3,10,9,11]. So far the impact of this growth to continuum mechanics has been essentially in the branch of solid mechanics. In this paper, we develop some of these ideas for a problem in fluid mechanics which has profound practical applications such as aero/hydro maneuvering of vehicles. We consider the task...