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
numeric_solve(x^3 - x - 1 = 0, x)In the solver,
Open in the solvernumeric_solve(x^3 - x - 1 = 0, x)gives[[x -> 1.324717957244746], [x -> -0.662358978622373 - 0.5622795120623012i], [x -> -0.662358978622373 + 0.5622795120623012i]].
Related functions
- solve
Solve equations for one or more unknowns.
- linear_solve
Solve a linear system A x = b given by its matrix and right-hand side.
- solve_all
Describe the complete solution set of equations and inequalities.
- solve_identity
Find the values of the parameters that make an equation true for every value of the variable.
- least_squares
The least-squares solution of A x = b.
- find_root
Find a root numerically, from a starting value.