The linear quadratic cost control problem

with a cost functional
![J[u] = frac{1}{2} \\int\\min{0}\\max {T} [\\langle x, Q(t)x\\rangle + \\langle u, R(t)u\\rangle ] dt](/images/tex/5420.gif)
is considered, supposing

is a suitable space of piecewise cubic polynominals on a mesh of norm

on the interval
![[0, T]](/images/tex/5421.gif)
. Then a Ritz type algorithm is developed for minimizing
![J [\\cdotp]](/images/tex/5422.gif)
over

. The authors have previously discussed [3] certain convergence properties of the algorithm. Here the algorithm is discussed in a form suitable for real-time implementation and additional convergence criteria are presented. In [3] it was shown that the Ritz-Treffiz suboptimal control

converges to the optimal control

with order

. If

is the trajectory generated by

, then it is shown that

approximates the optimal trajectory

to

. Finally, it is shown that
![J[\\bar{u}]](/images/tex/5427.gif)
approximates
![J[u\\ast ]](/images/tex/5428.gif)
to order

. The numerical properties of the algorithm, including speed and accuracy comparisons with the conventional numerical approach, are presented in a forthcoming paper.