In this approach, one computational method is presented for numerical approximation of variational problems. This with variable coefficients based on Hermite polynomials. The properties polynomials the operational matrices derivative and integration are used to reduce optimal control problems solution linear algebraic equations. Illustrative examples included demonstrate validity ap...