Exp


Function Exp( numeric expression )


Returns e^numeric expression


Syntax a =Exp( x )


Remarks

Exp returns e to the xth power, where x is a numeric expression and e is the base for natural logarithms.

e is approximately 2.718282

You would get the same result with e^x

Exp is also useful for calculating the value of e itself, as in PRINT EXP( 1 ).


See Also:

Exp10 Exp2 Log Math Functions


Example Script


NUMBER e

e = EXP(1)

PRINT "e (natural log base) is approximately "; e


Script Output


e (natural log base) is approximately 2.71828182845905