Automation of Initial Approximations Choice for Solving Nonlinear Equations by Numerical Methods
Abstract
The choice of initial approximations for finding the roots of nonlinear equations affects the convergence of methods. This paper presents the algorithm for finding initial approxi mations for computing the roots of nonlinear equations for various numerical methods. This algorithm is used for compiling educational tasks. The implementation is written in the Python programming language. The article provides pseudocode for the algorithm. The possibilities of the specified algorithm and auxiliary functions are considered, and the process of the program operation is described in detail. The results of a comparative analysis of the number of iterations required to find roots using the initial approximati on search algorithm and the manual method of selecting root localization intervals are presented. The proposed approach has demonstrated its efficiency on 520 different nonli near equations.
References
A. V. Zenkov, Vychislitel’naya matematika dlya IT-spetsial’nostey: uchebnoe posobie [Computational Mathematics for IT Specialties: A Textbook], Moscow, Vologda, Russia: Infra-Engineering, 2022 (in Russian).
A. A. Mitsel, Vychislitel’nye metody: uchebnoe posobie [Computational Methods: A Textbook], Tomsk, Russia: El Content, 2013 (in Russian).
E. G. Agapova, Vychislitel’naya matematika: uchebnoe posobie [Computational Mathematics: A Textbook], Khabarovsk, Russia: Pacific State Institute Publishing House, 2017 (in Russian).
V. V. Koledin, Vychislitel’naya matematika: uchebnoe posobie [Computational Mathematics: A Textbook], Nizhnevartovsk, Russia, 2023 (in Russian).
D. V. Vinokurova, “Programmnaya realizaciya algoritma poiska nachal’nyh priblizhenij dlya resheniya nelinejnyh uravnenij i analiz rezul’tatov” [Software Implementation of the Algorithm for Searchi ng Initial Approximations for Solving Nonlinear Equations and Analysis of the Results], Zenodo, 2024 (in Russian). [Online]. Available: https://zenodo.org/record/17350251. doi:10.5281/zenodo.17350251
SciPy Community, SciPy documentation, Version 1.14.1, 2024. [Online]. Available: https://docs.scipy.org/

This work is licensed under a Creative Commons Attribution 4.0 International License.