C++ Programming GalleryMath and others

Calculates all real and complex roots of a polynomial of degree n in C++ (NROOTS)

Calculates all real and complex roots of a polynomial of degree n

The algorithm is simple: just find any root of P(x) by Newton’s R. Method, then divide P(x) by Horner’s method by the monomial (x-root), obtaining a polynomial of degree n- 1, then the operation is repeated with this resulting polynomial until a monomial is reached.

Developed by:

JOSE LUIS DE LA CRUZ LAZARO

YACSHA – Software & Desing, since 1999, Lima – Perú
The World of Chaos – EL MUNDO DEL CAOS – Unlimited Programming

You can DOWNLOAD the SOURCE CODE and executable software for FREE from here:

Join The World of Chaos Developer Community😃

Contribute to the project on Github!

HISTORY

  • Version 2 – 23-IV-2024
    • Update math-and-others\nraices – Porting to VC++ 2017
    • Code has updated to C++17
    • Add credits and history
    • The GUI has been translated from Spanish to English.
    • Comments and History version partially translated from Spanish to English.
  • Version 1 – 17-IX-1999
    • First version for Borland C++ 3.1 and Turbo C 3.0

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button