advanced_math
Perform advanced mathematical calculations including trigonometry, logarithms, exponentials, factorials, and powers. Handles degrees/radians and enforces domain rules.
Instructions
Perform advanced mathematical functions (trigonometry, logarithms, etc.).
Trig functions accept unit='degrees' to convert the input; inverse trig
functions return degrees when unit='degrees'. pow uses exponent.
Domain rules: log/ln require positive input, sqrt non-negative, factorial a
non-negative integer <= 170, exp argument <= 700.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| value | Yes | ||
| exponent | No | Exponent, used only by 'pow'. | |
| function | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||