taylor - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MTM

  

taylor

  

Taylor series expansion

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

taylor(f,n,v,a)

Parameters

f

-

expression

n

-

(optional) positive integer

v

-

(optional) symbol

a

-

(optional) real constant

Description

• 

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:

I. 

. The first positive integer optional argument is assigned to n.

II. 

. The first non-numeric optional argument is assigned to v.

III. 

. 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.

Examples

withMTM:

taylorexpx

1+x+12x2+16x3+124x4+1120x5

(1)

taylorexpx,7

1+x+12x2+16x3+124x4+1120x5+1720x6

(2)

taylorexpx,1.0

2.718281828x+1.359140914x1.02+0.4530469713x1.03+0.1132617428x1.04+0.02265234857x1.05

(3)

taylor1vexpx,v,6,1

ⅇxⅇxv1+ⅇxv12ⅇxv13+ⅇxv14ⅇxv15

(4)

taylorexpx,7,6

ⅇ6+ⅇ6x6+ⅇ6x622+ⅇ6x636+ⅇ6x6424+ⅇ6x65120+ⅇ6x66720

(5)

See Also

MTM[exp]

MTM[findsym]

taylor