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

Note that in R, fsolve() is available through the pracma library.

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

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

bisection, an R code which seeks a root of a single nonlinear function using the bisection method.

newton, an R code which seeks a root of a single nonlinear function using the Newton method.

nth_root, an R code which uses the Newton method to find the n-th root of a number.

quadratic, an R code which computes the roots of a quadratic equation ax^2+bx+c=0.

secant, an R code which seeks a root of a single nonlinear function using the secant method.

- fsolve_test.R the source code;
- fsolve_test.sh runs all the tests;
- fsolve_test.txt the output file;

- fsolve_test01.R uses fsolve() to solve 1 nonlinear equation;
- f1.R defines 1 nonlinear equation;

- fsolve_test02.R uses fsolve() to solve 2 nonlinear equation2;
- f2.R defines 2 nonlinear equations;

- fsolve_test03.R uses fsolve() to solve 4 nonlinear equation2;
- f3.R defines 4 nonlinear equations;

- fsolve_test04.R uses fsolve() to solve 8 nonlinear equation2;
- f4.R defines 8 nonlinear equations;