Evaluate
evaluateEvaluate mathematical expressions: arithmetic, algebra, trigonometry, statistics. Returns computed result. E.g., "2+2", "sin(pi/2)", "sqrt(16)", "mean([1,2,3])". Use when you need to calculate or simplify math.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | Mathematical expression to evaluate (e.g., "2 + 3 * 4", "sqrt(16)", "sin(pi/2)", "det([1,2;3,4])") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The computed result of the expression | |
| expression | Yes | The mathematical expression that was evaluated |