derivative

derivative(expr, variable)

derivative(expr, variable, {simplify: boolean})

Takes the derivative of an expression expressed in parser Nodes. The derivative will be taken over the supplied variable in the second parameter. If there are multiple variables in the expression, it will return a partial derivative.

Try it yourself:

See also:
All functions