# numeric_solve function

Solve equations numerically.

## How to write it

### numeric_solve(equations, variables)

**equations**

What to solve; a list of equations is a system. Takes an equation, or a list of equations in brackets.

**variables**

A variable, or a list of variables such as \[x, y\]. Takes a variable, or a list of variables.

## Examples

- $\displaystyle x^{3}-x-1 = 0 \Rightarrow x = 1.324717957244746,\quad x = -0.662358978622373-0.5622795120623012 i,\quad x = -0.662358978622373+0.5622795120623012 i$

  `numeric_solve(x^3 - x - 1 = 0, x)`

  In the solver, `numeric_solve(x^3 - x - 1 = 0, x)` gives `[[x -> 1.324717957244746], [x -> -0.662358978622373 - 0.5622795120623012i], [x -> -0.662358978622373 + 0.5622795120623012i]]`.

  [Open in the solver](https://hilberon.com/?q=numeric_solve%28x%5E3%20-%20x%20-%201%20%3D%200%2C%20x%29)

## Related functions

- [solve](https://hilberon.com/library/solve)

  Solve equations for one or more unknowns.
- [linear_solve](https://hilberon.com/library/linear_solve)

  Solve a linear system A x = b given by its matrix and right-hand side.
- [solve_all](https://hilberon.com/library/solve_all)

  Describe the complete solution set of equations and inequalities.
- [solve_identity](https://hilberon.com/library/solve_identity)

  Find the values of the parameters that make an equation true for every value of the variable.
- [least_squares](https://hilberon.com/library/least_squares)

  The least-squares solution of A x = b.
- [find_root](https://hilberon.com/library/find_root)

  Find a root numerically, from a starting value.

---
Source: https://hilberon.com/library/numeric_solve
