XLPack 6.1
Excel VBA Numerical Library (Basic module) Reference Manual
Loading...
Searching...
No Matches

◆ Celli2()

Function Celli2 ( K As  Double,
Optional Info As  Long 
)

Complete elliptic integral of the second kind E(k)

Purpose
This routine computes the Legendre form of complete elliptic integral of the second kind E(k).
E(k) = E(π/2, k)
where E(φ, k) is the incomplete elliptic integral of the second kind defined as follows.
E(φ, k) = ∫ sqrt(1 - k^2(sin(t))^2) dt [0, φ]
Returns
Double
Complete elliptic integral of the second kind E(k).
Parameters
[in]KArgument k. (-1 <= K <= 1)
[out]Info(Optional)
= 0: Successful exit.
= -1: The argument K had an illegal value. (K < -1 or K > 1)
= 1: Floating point range error.
Reference
boost/math/special_functions