fmax
Approximate the maximum value of a mathematical function f(x) over a closed interval by providing the expression and bounds.
Instructions
When: approximate maximum 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 |