NSolve
NSolve(equations, vars)attempts to solve
equationsfor the variablesvars.
NSolve(equations, vars, domain)attempts to solve
equationsfor the variablesvarsin the givendomain.
Note: NSolve calls Solve in numeric mode.
Examples
It’s important to use the == operator to define the equations. If you have unintentionally assigned a value to the variables x, y with the = operator you have to call Clear(x,y) to clear the definitions for these variables.
>> NSolve({Sin(x)-11==y, x+y==-9}, {y,x}){x->1.1060601577062719,y->-10.106060157706272}Related terms
Implementation status
- ☑ - partially implemented