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

Cover Page

Cite item

Full Text

Abstract

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.

About the authors

Mikhail D. Malykh

RUDN University; Joint Institute for Nuclear Research

Author for correspondence.
Email: malykh-md@rudn.ru
ORCID iD: 0000-0001-6541-6603
Scopus Author ID: 6602318510
ResearcherId: P-8123-2016

Doctor of Physical and Mathematical Sciences, Assistant Professor of Department of Applied Probability and Informatics

6, Miklukho-Maklaya St., Moscow, 117198, Russian Federation; 6, Joliot-Curie St., Dubna, Moscow Region, 141980, Russian Federation

Polina S. Chusovitina

RUDN University

Email: 1032192941@rudn.ru
ORCID iD: 0009-0006-4191-2454

Student of Department of Applied Probability and Informatics

6, Miklukho-Maklaya St., Moscow, 117198, Russian Federation

References

  1. H. Gould and J. Tobochnik, An introduction to computer simulation methods. Applications to physical systems. Addison-Wesley Publishing Company, 1988.
  2. A. Baddour and M. D. Malykh, “Richardson-Kalitkin method in abstract description,” Discrete and Continuous Models and Applied Computational Science, vol. 29, no. 3, pp. 271-284, 2021. doi: 10.22363/2658-4670-2021-29-3-271-284.
  3. J. B. Scarborough, Numerical methods of mathematical analysis. Oxford book company, 1930.
  4. L. Gonzalez and M. D. Malykh, “On a new package for numerical solution of ordinary differential equations in Sage [O novom pakete dlya chislennogo resheniya obyknovennykh differentsial’nykh uravneniy v Sage],” in Proceedings of ITTMM’22, Moscow, Russia, in Russian, 2022, pp. 360-364.

Supplementary files

Supplementary Files
Action
1. JATS XML