Skip to main content

SOLVE

Bisection root-finder: the value of the named variable in [lo, hi] where the expression equals the target. Requires a sign change across the bracket. Max 80 bisections; deterministic.

CategoryEngineering
SyntaxSOLVE(varName, expr, target, lo, hi)

Parameters

ParameterRequiredDescription
varNameRequiredBare name of the unknown.
exprRequiredExpression of varName to drive to the target.
targetRequiredValue the expression must equal.
loRequiredLower bound of the search bracket.
hiRequiredUpper bound of the search bracket.

Example

SOLVE(varName, expr, target, lo, hi)

Auto-generated from the EngCanvas function registry.