find_roots
Compute a scalar root of a mathematical expression by supplying a bracket for brentq or an initial guess x0 for Newton's method.
Instructions
Find a scalar root of an expression using brentq (bracket) or Newton's method (x0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x0 | No | ||
| expr | Yes | ||
| params | No | ||
| bracket | No | ||
| variable | No | x |