C++ Programming GalleryMath and others

Numerical Methods for Finding Roots of a Function in C++

Is solved using the following numerical method algorithms, coded in C++ language:

  • Bisection
  • False position
  • Secant method
  • Newton-Raphson
  • Fixed point

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 – 06-IV-2024
    • Change project name from “metodos\raices de funciones f(x)=0” to “NumericalMethods\RootFinding”
    • Merges all numerical methods that Root Finding in a single file
    • Porting to VC++ 2017 using winbgi
    • Fixed some errors that prevented compilation
    • Removed old files after change project name from “metodos\raices de funciones f(x)=0” to “NumericalMethods\RootFinding”
    • The code is modernized, converting it into the CRootFinding class
    • Add FormulaParser Library and AddOns Library
    • The Newton Raphson method is added to solve a system of nonlinear equations with 2 unknowns
    • The FormulaParser library is added to define an y=f(x) from a text string entered by the user, and in this way the user will be able to customize the f(x) equation that will be solved by the numerical methods implemented
    • Update version history
    • Added ExampleOfUse to the “Enter f(x) function” option, to inform the user how to enter the formulation of the mathematical function
  • Version 1 – 30-XI-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