zero_chandrupatla


zero_chandrupatla, a C code which finds a zero of a scalar function of a scalar variable, starting from a change of sign interval, using the Chandrupatla method, which can converge faster than bisection, regula falsi, or Brent's method, by Tirupathi Chandrapatla..

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

zero_chandrupatla is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

zero_chandrupatla_test

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.

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 solves systems of nonlinear equations, inspired by the fsolve() function in minpack(), with special interfaces fsolve_bdf2(), fsolve_be() and fsolve_tr() for handling systems associated with implicit ODE solvers of type bdf2, backward Euler, midpoint, or trapezoidal.

root_rc, a C code which seeks a solution of a scalar nonlinear equation f(x) = 0, or a system of nonlinear equations, using reverse communication (RC), by Gaston Gonnet.

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_itp, a C code which finds a zero of a scalar function of a scalar variable, starting from a change of sign interval, using the Interpolate/Truncate/Project (ITP) method, which has faster convergence than the bisection method.

zero_rc, a C code which seeks a solution of a scalar nonlinear equation f(x) = 0, using reverse communication (RC), by Richard Brent.

Author:

Original QBASIC version by Tirupathi Chandrupatla; This version by John Burkardt.

Reference:

  1. Tirupathi Chandrupatla,
    A new hybrid quadratic/bisection algorithm for finding the zero of a nonlinear function without using derivatives,
    Advances in Engineering Software,
    Volume 28, Number 3, pages 145-149, 1997.

Source Code:


Last revised on 19 March 2024.