bisection


bisection, a C++ 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 C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version and an R version.

Related Data and Programs:

bisection_test

bisection_integer, a C++ code which seeks an integer solution to the equation f(x)=0, using bisection within a user-supplied change of sign interval [a,b].

bisection_rc, a C++ 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 reverse communication (RC).

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

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

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

zero_rc, a C++ 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 05 December 2023.