taylor(f,a,n)
Returns the Taylor expansion of function f about point a using up to n derivatives.
Wikipedia
See also partial derivative jacobian divergence gradient
Example
f(x)=x*e^x
t=taylor(f,0,6)
t(x)= x+x^2+0.5*x^3+0.1667*x^4+0.0417*x^5