  The problems of optimal recovering univariate functions and their derivatives
are studied. To solve these problems, two variants of the truncation method are
constructed, which are order-optimal both in the sense of accuracy and in terms
of the amount of involved Galerkin information. For numerical summation, it has
been established how the parameters characterizing the problem being solved
affect its stability.
