<-- Previous || Up || Next -->

Exponent Function
Math Trig Complex Class

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

e to the power of X for a real or complex number.

    Exponent(-1) = 0.367879441171442
    Exponent(0) = 1
    Exponent(1) = 2.71828182845905
    Exponent(2) = 7.38905609893065
    Exponent(3) = 20.0855369231877
    Exponent("2.3|-4.5") = "-2.10251576423113|9.75006374866818"
See also:
    Exp10 Function
    Power Function
    Exp Function (Visual Basic)
vX: Function returns e raised to the power of this number. Function returns Null if vX is Null or cannot be fixed up to a real or complex number (as defined by the ComplexStringToReals function). Complex numbers are represented within strings as "R|I" where R is the real part and I is the imaginary part.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.