Skip to content

My implementation of the bisection root finding algorithm in python

License

Notifications You must be signed in to change notification settings

arincdemir/Root_Finding_Bisection_Py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Root_Finding_Bisection_Py

My implementation of the bisection root finding algorithm in python

The function has default values x = -10^6 x = 10^6 as the bracket to look for a root in. If you think that the root you are looking for exists in another bracket of numbers, you can change the startX and endX parameters.

The algorithm constantly divides the bracket into half and stops when the maxIterations is reached or a root is found. If the root is not found for f(x) = 0, it gives the closest value to the root found until max number of iterations is reached.

About

My implementation of the bisection root finding algorithm in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages