Introduction - If you have any usage issues, please Google them yourself
function eg2OC_Descent
EG2OC_Descent Example 2 of optimal control tutorial.
This example is from D.E.Kirk s Optimal control theory: an introduction
example 6.2-2 on page 338-339.
Steepest descent method is used to find the solution.