Solve Blocks > Solving a System of Equations
Solving a System of Equations
You can use solve blocks, and the find function, to find the point that satisfies a system of linear or nonlinear equations:
Traces Crossing
Corresponding Solve Block
Click to copy this expression
Click to copy this expression
Watch this video to learn more about solving system of equations:
In some cases, one constraint is enough to define your problem:
Click to copy this expression
When there is more than one solution to the system of equations, you can change the guess value and explore the effect on the result:
Click to copy this expression
You can use matrix notation to define constraints in solve blocks:
Click to copy this expression
Solving Methods
When find cannot make any further improvements to the solution, and the constraints are not all satisfied, the solver stops and returns an error message. This happens whenever one of the following situations holds true:
The solver cannot reduce the error any further.
The solver reaches a point where it has no basis on which to make further iterations.
The solver reaches the limit of its accuracy. Round-off errors make it unlikely that further computation would increase the accuracy of the solution.
The following problems can cause the failure:
There is no solution.
The guess values are real but there is no real solution. Try complex guess values.
The solver reaches a local minimum for the error values or an undesirable stopping point. Try using different guess values or adding an inequality.
The value of CTOL is too small. Try increasing the values of CTOL by redefining this worksheet variable above the solve block region.
If your system does not converge, you can view an approximate solution by using minerr instead of find.
Was this helpful?