MTM[taylor] - Taylor series expansion
|
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
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?