bisection


bisection, a Python code which applies the bisection method to seek a root of f(x) over a change-of-sign interval a <= x <= b.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license.

Languages:

bisection is available in a MATLAB version and an Octave version and a Python version and an R version.

Related Data and Programs:

bisect, a Python code which seeks a solution to the equation F(X)=0 using bisection within a user-supplied change of sign interval [A,B]. The procedure is written using classes.

fsolve_test, a Python code which calls fsolve() which seeks the solution x of one or more nonlinear equations f(x)=0.

test_zero, a Python code which implements test problems for the solution of a single nonlinear equation in one variable.

zero, a Python code which seeks a solution of a scalar nonlinear equation f(x) = 0, by Richard Brent.

zero_rc, a Python code which seeks solutions of a scalar nonlinear equation f(x) = 0, or a system of nonlinear equations, using reverse communication (RC).

Source Code:


Last revised on 04 December 2023.