bisection


bisection, a MATLAB 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 R version.

Related Data and Programs:

bisection_test

bisection_integer, a MATLAB 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 MATLAB 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_test, a MATLAB code which calls fsolve() which seeks the solution x of one or more nonlinear equations f(x)=0.

nonlin_bisect, a MATLAB code which interactively applies bisection to seek a root of f(x) over a change-of-sign interval a <= x <= b.

nonlin_fixed_point, a MATLAB code which interactively uses fixed point iteration x=g(x) to seek a zero of a function f(x) given a starting point x0 and a number of iterations it;

nonlin_newton, a MATLAB code which interactively uses Newton's method to find the zero of a function, given formulas for f(x), f'(x), and a starting point.

nonlin_regula, a MATLAB code which interactively uses the regula falsi method to seek a zero of a function f(x) within a domain a ≤ x ≤ b;

nonlin_secant, a MATLAB code which interactively uses the secant method to seek a zero of a function f(x) given two starting estimates a and b.

nonlin_snyder, a MATLAB code which interactively uses Snyder's variation of the regula falsi method to seek a zero of a function f(x) within a change of sign interval [a,b];

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

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

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

Source Code:


Last revised on 04 December 2023.