fmin
Find the x that minimizes a mathematical expression f(x) on a closed interval. Supply the expression, lower and upper bounds, and optional tolerance to obtain the approximate minimum.
Instructions
When: approximate minimum of infix f(x) on a closed interval. Params: expression in x; lower; upper; angle_mode; tol. Example: expression="(x-1)^2", lower=0, upper=2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tol | No | ||
| lower | Yes | ||
| upper | Yes | ||
| angle_mode | No | rad | |
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |