MapleTA[Builtin] - Maple Programming Help

Home : Support : Online Help : Connectivity : Maple T.A. : MapleTA Package : Builtin : MapleTA/Builtin/sum

MapleTA[Builtin]

 sum

 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

 > $\mathrm{MapleTA}:-\mathrm{Builtin}:-\mathrm{sum}\left(i,1,20,{i}^{2}\right)$
 ${2870}$ (1)

Compatibility

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