ellipticIntegralE¶
Evaluates the complete elliptic integral of the second kind E(x).
Synopsis¶
ellipticIntegralE (x)
Required Arguments¶
- float
x
(Input) - Argument for which the function value is desired.
Return Value¶
The complete elliptic integral E(x).
Description¶
The complete elliptic integral of the second kind is defined to be
E(x)=∫π/20[1−xsin2θ]1/2dθ for 0≤x<1
The argument x must satisfy 0 ≤ x < 1; otherwise, ellipticIntegralE
returns machine(2), the largest representable floating-point number. For
more information, see the description for machine.
The function E(x) is computed using the routine ellipticIntegralRF and ellipticIntegralRD. The computation is done using the relation
E(x)=RF(0,1−x,1)−x3RD(0,1−x,1)