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

Note that fsolve() requires MATLAB's Optimization Toolbox.

**fsolve_test** is available in
a MATLAB version and
an Octave version and
a Python version.

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

kelley, a MATLAB code which implements iterative methods for linear and nonlinear equations, by Tim Kelley;

root_rc, a MATLAB 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.

roots_rc, a MATLAB code which seeks a solution of a system of nonlinear equations f(x) = 0, using reverse communication (RC), by Gaston Gonnet.

test_nonlin, a MATLAB code which implements test problems for the solution of systems of nonlinear equations.

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 a solution of a scalar nonlinear equation f(x) = 0, using reverse communication (RC), by Richard Brent.

- fsolve_test.m calls all the tests;
- fsolve_test.sh runs all the tests;
- fsolve_test.txt the output file;

- f1.m defines 1 nonlinear equation.
- f2.m defines 2 nonlinear equations.
- f3.m defines 4 nonlinear equations.
- f4.m defines 8 nonlinear equations.
- fsolve_test01.m applies fsolve() to 1 nonlinear equation.
- fsolve_test02.m applies fsolve() to 2 nonlinear equations.
- fsolve_test03.m applies fsolve() to 4 nonlinear equations.
- fsolve_test04.m applies fsolve() to 8 nonlinear equations.
- r8vec2_print.m prints a pair of real vectors columnwise;