Discrete and Continuous Models and Applied Computational Science (Dec 2023)

Implementation of the Adams method for solving ordinary differential equations in the Sage computer algebra system

  • Mikhail D. Malykh,
  • Polina S. Chusovitina

DOI
https://doi.org/10.22363/2658-4670-2023-31-2-164-173
Journal volume & issue
Vol. 31, no. 2
pp. 164 – 173

Abstract

Read online

This work is devoted to the implementation and testing of the Adams method for solving ordinary differential equations in the Sage computer algebra system. The Sage computer algebra system has, to some extent, trivial means for numerical integration of ordinary differential equations, but at the same time, it is worth noting that this environment is convenient and practical for conducting computer experiments related to symbolic numerical calculations in it. The article presents the FDM package developed on the basis of the RUDN, which contains the developments of recent years, performed by M. D. Malykh and his students, for numerical integration of differential equations. In this package, attention is paid to the visualization of the calculation results, including the construction of various kinds of auxiliary diagrams, such as Richardson diagrams, as well as graphs of dependence, for example, the value of a function or step from a moment in time. The implementation of the Adams method will be considered from this package. In this article, this implementation of the Adams method will be tested on various examples of input data, and the method will also be compared with the Jacobi system. Exact and approximate values will be found and compared, and an estimate for the error will be obtained.

Keywords