### Solution of Systems of Nonlinear Equations

With JavaScript, non-linear (and also linear) equations and systems of equations are solved using the Newton-Raphson method.

*Nonlinear* equations normally do have more than just one solution.

Solving a system of nonlinear equations requires an iterative process, starting at some set of initial values.

Which solution will be found and if any solution will be found at all depends on those initial values.

If no initial values are supplied, randon values from the interval [-5,5] are taken.

Each run calculates only one solution. Previously calculated solutions are kept and displayed too.

*Linear* equations have a unique solution, if the determinante of the system matrix not equals 0.

For linear equations the method used here is not optimal, but it works.

more JavaScript programs