- Function Exp(x)
Exp
Exp(
x ! (input) numerical expression
)
Arguments
- x
A scalar numerical expression.
Return Value
The function
Exp
returns the exponential value \(e^x\).
Graph

Example
_p_returnM1 := Exp(-1); ! Exp(-1) = 0.367879441171
_p_returnZ := Exp( 0); ! Exp( 0) = 1
_p_returnP1 := Exp( 1); ! Exp( 1) = 2.718281828459
Note
The function Exp
can be used in constraints of nonlinear
mathematical programs.
See also
The functions
Log
,Log10
. Arithmetic functions are discussed in full detail in Arithmetic Functions of the Language Reference.