Examples
- Enter and name the expression, then use the
diff
command to compute the first and second derivatives of the expression.expr := x^n diff(expr, x) diff(expr,x$2)
- Enter and name the expression, then use the
diff
command to compute the first and second derivatives of the expression.expr2 := x^(2*cos(x)) → / ln(x) diff(expr2, x) diff(expr2, x$2)