Evaluates the complete elliptic integral of the second kind E(x).
#include <imsl.h>
float imsl_f_elliptic_integral_E (float x)
The type double function is imsl_d_elliptic_integral_E.
float x
(Input)
Argument for which the function value is desired.
The complete elliptic integral E(x).
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 returns 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 relation

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);
}
E(0.33) = 1.431832
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |