XLPack
7.0
XLPack Numerical Library (Excel Worksheet Functions) Reference Manual
Loading...
Searching...
No Matches
C5. Exponential and logarithmic integrals
WE_1
WEi
WEn
WLi
WSpence
◆
WSpence()
Function WSpence
(
X As
Double
)
Spence's function (dilogarithm) Li2(x)
Purpose
WSpence computes a Spence's function (dilogarithm).
Li2(x) = ∫ -ln(1-t)/t dt [0, x]
For abs(x) < 1, the following uniformly convergent expansion is valid.
Li2(x) = Σ x^k/k^2 (k = 1 to ∞)
Returns
Spence's function Li2(x).
Parameters
[in]
X
Argument x.
Generated by
1.9.7