eulermac
Euler-Maclaurin summation
Calling Sequence
Parameters
Description
Examples
eulermac(expr, x) or eulermac(expr, x = a..b)
eulermac(expr, x, n) or eulermac(expr, x = a..b, n)
expr
-
expression in x
x
independent variable
a, b
interval over which the approximation to the sum is computed
n
(optional) integer (degree of summation)
The forms eulermac(expr, x) and eulermac(expr, x, n) compute asymptotic approximations to sum(expr, x). If F(x) = eulermac(f(x), x), then F⁡x+1−F⁡x is asymptotically equivalent to f(x). The order of the approximation is specified by n, and defaults to Order - 1.
The forms eulermac(expr, x=a..b) and eulermac(expr, x=a..b, n) compute nth degree Euler-Maclaurin summation formulas for expr (thus n terms of the expansion are given). If n is not specified, it is assumed to be Order - 1.
eulermac⁡1x,x
ln⁡x−12⁢x−112⁢x2+1120⁢x4−1252⁢x6+O⁡1x8
eulermac⁡1k,k=1..x
∫1x1kⅆk+γ+12⁢x−112⁢x2+1120⁢x4−1252⁢x6+O⁡1x8
eulermac⁡1x2,x
−1x−12⁢x2−16⁢x3+130⁢x5−142⁢x7+O⁡1x9
eulermac⁡1k2,k=1..x,4
∫1x1k2ⅆk+π26−1+12⁢x2−16⁢x3+130⁢x5+O⁡1x7
See Also
sum
Download Help Document