This repository contains implementations of various root-finding algorithms in different programming languages.
Root-finding algorithms are numerical methods used to find roots (or zeroes) of a given function. A root of a function f(x) is a value of x for which f(x) = 0. Root-finding algorithms are used in various fields of science and engineering to solve problems that cannot be solved analytically.
The following root-finding algorithms have been implemented in this repository:
- Bisection Method
- Newton-Raphson Method
- Secant Method
- Regula-Falsi Method
The algorithms have been implemented in the following programming languages:
- Python
Each algorithm is implemented in its own file in each programming language. To use a particular algorithm in a specific programming language, simply run the corresponding file.
For example, to use the Bisection Method implemented in Python, run the bisection_method.py
file using the command:
python bisection_method.py
Contributions to this repository are welcome. If you would like to add an implementation of a root-finding algorithm in a language that is not yet supported, feel free to create a pull request.