Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Exp - function of language VBScript

Description:
Returns e (the base of natural logarithms) raised to a power.

For the purposes of PROMOTIC system, it is more usefull to use the method: Pm.Exp.

Syntax:
Exp(number As Double) As Double
Calling:
n = Exp(number)
Parameters:
number(Double) Any valid numeric expression.
Note:

If the value of number exceeds 709.782712893, an error occurs. The constant e is Euler number equal approximately 2.718282.

The Exp function complements the action of the Log function and is sometimes referred to as the antilogarithm.

Example:
Dim nAngle, nHSin
nAngle = 1.3
nHSin = (Exp(nAngle) - Exp(-1*nAngle))/2
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice