This function evaluates the hyperbolic cosine integral.
CHI — Function value. (Output)
X — Argument for which the function value is desired. (Input)
Specific: The specific interface names are S_CHI and D_CHI.
Double: The double precision function name is DCHI.
The hyperbolic cosine integral, Chi(x), is defined to be
where γ ≈ 0.57721566 is Euler's constant.
The argument x must be large enough that e−x/x does not underflow, and x must be small enough that ex does not overflow.
When X is negative, the principal value is used.
In this example, Chi(2.5) is computed and printed.
99999 FORMAT (' CHI(', F6.3, ') = ', F6.3)
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |