Adding an additional variable (derivative(expr, name, name2)) takes the second derivative.
Returns the first numeric derivative of the expr with respect to the first argument in the expression.
Returns the second numeric derivative of the expr with respect to the first argument in the expression.