Use DERIVF to compute first and higher order derivatives of a function f(x) at x=p using highly accurate adaptive algorithm.
Use DERIVXY to compute a numerical derivative at a point within a discrete set of (x,y) data points using cubic splines.
You can nest DERIVF to compute partial derivatives of any order.