Chapter 9: Special Functions

elliptic_integral_E

Evaluates the complete elliptic integral of the second kind E(x).

Synopsis

#include <imsl.h>

float imsl_f_elliptic_integral_E (float x)

The type double function is imsl_d_elliptic_integral_E.

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

The argument x must satisfy 0 £ x < 1; otherwise, imsl_f_elliptic_integral_E re­turns imsl_f_machine(2), the largest representable floating-point number.

The function E(x) is computed using the routine imsl_f_elliptic_integral_RF  and imsl_f_elliptic_integral_RD. The computation is done using the re­lation

Example

The integral E(0.33) is evaluated.

#include <imsl.h>


main()

{

        float   x = 0.33;

        float   ans;


        x = imsl_f_elliptic_integral_E (x);


        printf ("E(0.33) = %f\n", x);

}

Output

E(0.33) = 1.431832


Visual Numerics, Inc.
Visual Numerics - Developers of IMSL and PV-WAVE
http://www.vni.com/
PHONE: 713.784.3131
FAX:713.781.9260