Function Math Engineering Class

ErfC

Compute the complementary error function.

Signature (Visual Basic / VBA)

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

Code Example

    ErfC(-5.0) = 1.99999999999846
    ErfC(-1.0) = 1.84270079294971
    ErfC(-0.5) = 1.52049987781305
    ErfC(+0.0) = 1
    ErfC(+0.5) = 0.479500122186953
    ErfC(+1.0) = 0.157299207050285
    ErfC(+5.0) = 1.53745979442803E-12
    ErfC(+5.0) = 1 - Erf(+5.0)

Parameters

Parameter Description
vX Function returns Null if vX is Null or cannot be fixed up to a Double precision floating point number.

See Also