The computation of approximate solutions of nonautonomous system of differential equations on a long time interval