The differentiate command computes the derivative of an expression A with respect to the variable X.
differentiate(sin(x),x); cos(x) differentiate(exp(x),x); exp(x) differentiate(ln(x),x); x^(-1)