exp - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Units[Simple]

 exp
 exponential function

Calling Sequence

 exp(expr) ${ⅇ}^{\mathrm{expr}}$

Parameters

 expr - algebraic expression

Description

 • In the Simple Units environment, any verifications of valid dimensions ignore so-called Unit annotations.
 • In the Simple Units environment, the arguments for the exponential functions must be unit-free.  If you would like to apply the exponential function to an expression with the dimension of logarithmic gain, consider using the Standard Units environment.
 • Every command in the Simple Units environment that needs to determine whether an expression is valid or not, does so using the Units:-TestDimensions command.
 • Note that the first calling sequence must be entered in 2-D math notation by using either the palettes or command completion. The exponential ${e}^{x}$ will not be recognized if it is entered manually.
 • For other properties, see the global function exp.

Examples

Notes:

 – To enter a unit in 2-D Math input, select the unit from the appropriate Units palette. If the unit you want is not there, select $\mathrm{unit}$ and then enter the unit.
 – When you edit a unit, double brackets appear around it.
 > $\mathrm{with}\left(\mathrm{Units}\left[\mathrm{Simple}\right]\right):$
 > $\mathrm{exp}\left(2.5\right)$
 ${12.18249396}$ (1)

The following is not allowed.

 > $\mathrm{exp}\left(2.5\mathrm{Unit}\left(m\right)\right)$

However, in the following expression, $x$ could be a distance, in which case $x\left(\mathrm{/}\left(⟦m⟧\right)\right)$ would be a unit-free expression. Therefore, this is a valid expression.

 > $\mathrm{exp}\left(\frac{x}{\mathrm{Unit}\left(m\right)}\right)$
 ${{ⅇ}}^{{x}{}⟦\frac{{1}}{{m}}⟧}$ (2)
 > $\mathrm{eval}\left(,x=250.\mathrm{Unit}\left(\mathrm{cm}\right)\right)$
 ${12.18249396}$ (3)