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

../../_images/exp.png

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