The Exp function potentiates e (the base of the natural logarithm) with the specified value.
Syntax | ||||
Exp(Value) | ||||
Return value | ||||
Type |
Description | |||
Double |
Result of the calculation e^Value | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Value |
Double |
ByVal |
Value to retrieve exp |
Value must not exceed 709.782712893, otherwise an error will occur.
The constant e is approximately the value of 2.718282.
Notes
The Exp function is the inverse function to the Log function (natural logarithm) and is sometimes called antilogarithm.
Example
Dim Angle As Double, HypSin As
Double
# define Angle in radiant
Angle := 1.3
# calc the hyperbolic sine
HypSin := (Exp(Angle) - Exp(-1 * Angle)) /
2