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

Online Help

All Products    Maple    MapleSim


MapleTA[Builtin]

  

sum

  

add a sequence of expressions

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

sum(varname, start, stop, expr)

Parameters

varname

-

symbol

start

-

integer

stop

-

integer

expr

-

anything

Description

• 

The sum command sums the expression expr with respect to the dummy variable, varname, between the values start and stop.

• 

For example, sum(i, 1, 20, i^2) evaluates 1^2 + 2^2 + 3^2 + ... + 20^2 and returns 2870.

Examples

MapleTA:-Builtin:-sumi,1,20,i2

2870

(1)

Compatibility

• 

The MapleTA[Builtin][sum] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

add

MapleTA