The Order Term Function and the Environment Variable Order
Description
Examples
The environment variable Order represents the order, or working precision, of series calculations performed by Maple. It does not necessarily represent the order of the error term, or the number of terms, in the series output. In the given example, note that the order of the series expansion of ⅇxx is only 7 rather than 8, since the series expansion of ⅇx is divided by x, thereby reducing the degree by 1.
The default value of Order is 6.
The order term function O, denotes the "rest" of the series, beyond the order specified by the Order variable.
Because Order is an environment variable, any assignments to it inside a procedure body are undone upon exit from a procedure.
Order
6
series⁡cos⁡x,x=0
1−12⁢x2+124⁢x4+O⁡x6
Order≔8
series⁡exp⁡x,x=0
1+x+12⁢x2+16⁢x3+124⁢x4+1120⁢x5+1720⁢x6+15040⁢x7+O⁡x8
series⁡exp⁡xx,x=0
x−1+1+12⁢x+16⁢x2+124⁢x3+1120⁢x4+1720⁢x5+15040⁢x6+O⁡x7
Cancellation may lead to a smaller number of terms than expected.
series⁡1exp⁡x−1−x,x=0
2⁢x−2−23⁢x−1+118+1270⁢x−13240⁢x2−113608⁢x3+O⁡x4
See Also
environment variables
Download Help Document