The optimal control problems of nonlinear systems