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

Online Help

All Products    Maple    MapleSim


The Order Term Function and the Environment Variable Order

 

Description

Examples

Description

• 

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.

Examples

Order

6

(1)

seriescosx,x=0

112x2+124x4+Ox6

(2)

Order8

Order8

(3)

seriesexpx,x=0

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

(4)

seriesexpxx,x=0

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

(5)

Cancellation may lead to a smaller number of terms than expected.

series1expx1x,x=0

2x−223x−1+118+1270x13240x2113608x3+Ox4

(6)

See Also

environment variables