derivative
Compute the symbolic rate of change of a mathematical expression with respect to a specified variable. Provide an expression and variable to obtain the differentiated result.
Instructions
Calculate the derivative of an expression with respect to a variable. Example: derivative('x^2', 'x') returns '2*x'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable | Yes | Variable to differentiate with respect to | |
| expression | Yes | Mathematical expression |