# EXP function

## Description

Natural exponential function. EXP(x) returns the natural exponential of x.

$$ \exp(x) = e^x $$

where *e* is the base of the natural logarithm, 2.718281828459… (Euler's number).

EXP is the inverse function of the LN function.

$$ \exp(1)=2.718281828459 $$ $$ \ln(2.718281828459)=1 $$

In MedCalc, Euler's number is returned by the E() function.

$$ \ln(E())=1 $$

The argument x can be a real number, a complex number, or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the EXP function applied to all elements.

## Example

EXP(1) = 2.718281828 (the number e)