Each solve block returns one solution (or one set of solutions for ODEs). You can use this solution below or to the right of the solve block region. Alternatively, you can add parameters to the solve block. The output of the solve block is then a function of the parameters.
When you specify a new parameter value, the function calls the solve block and returns the solution for that value.
This is especially useful for plotting solve block solutions.
Additionally, you can work with a solve block solution inside a second solve block.
• The constraint, (2 - 0.1x), is being applied to function f(x) which is defined in the first solve block.
• The solution found by the find function is the intersection of the constraint line with f(x).
Parametrizing Solutions
The output of a solve block may be assigned to a single variable that can be used throughout the worksheet or inside other solve blocks.
Here the find function is unable to find a solution because the constraint is a function that does not intersect function f(x).
Evaluate function f(x) at the guess value and assign the result to a variable.
The constraint is now applied to constant sol or f(3), and the solution found by the find function is the intersection of sol and the constraint function.