Function Math Engineering Class

E1

Compute the exponential integral E1(X).

Signature (Visual Basic / VBA)

Public Function E1( _
    ByVal vX As Variant _
    ) As Variant

Code Examples

    E1(-5.0) = -40.1852753558032
    E1(-0.5) = -0.454219904863174
    IsNull(E1(0)) = True
    E1(+0.1) = 1.82292395841939
    E1(+0.5) = 0.559773594776161
    E1(+1.0) = 0.21938393439552
    E1(+5.0) = 1.14829559127533E-03
    E1(X) = -Ei(-X)
    or
    Ei(X) = -E1(-X).

Parameters

Parameter Description
vX Function returns Null if vX is Null or cannot be fixed up to a Double precision floating point number. E1 calculates the double precision exponential integral, E1(X), for positive double precision argument X and the Cauchy principal value for negative X. If principal values are used everywhere, then, for all X,

See Also