derivative
Calculate the derivative of a mathematical expression with respect to a specified variable. Provide the expression and variable to obtain the symbolic 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 |