MTM
taylor
Taylor series expansion
Calling Sequence
Parameters
Description
Examples
taylor(f,n,v,a)
f
-
expression
n
(optional) positive integer
v
(optional) symbol
a
(optional) real constant
The function taylor(f,n,v,a) interprets the expression f as a function of v, and returns the (n-1)-degree Taylor series expansion of f(v) about the point a.
If n is not specified, then n = 6.
If v is not specified, then v is the default symbol of f, given by findsym(f,1).
If a is not specified, then a = 0.
The optional parameters need not be passed in the order, n,v,a. More precisely, the arguments are assigned to n, v, and a in the following way:
. The first positive integer optional argument is assigned to n.
. The first non-numeric optional argument is assigned to v.
. The first real numeric optional argument is assigned to a, unless the argument is also a positive integer and n has not yet been assigned a value.
withMTM:
taylorexpx
1+x+12x2+16x3+124x4+1120x5
taylorexpx,7
1+x+12x2+16x3+124x4+1120x5+1720x6
taylorexpx,1.0
2.718281828x+1.359140914x−1.02+0.4530469713x−1.03+0.1132617428x−1.04+0.02265234857x−1.05
taylor1vexpx,v,6,1
ⅇx−ⅇxv−1+ⅇxv−12−ⅇxv−13+ⅇxv−14−ⅇxv−15
taylorexpx,7,6
ⅇ6+ⅇ6x−6+ⅇ6x−622+ⅇ6x−636+ⅇ6x−6424+ⅇ6x−65120+ⅇ6x−66720
See Also
MTM[exp]
MTM[findsym]
Download Help Document