Units[Simple] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Environments : Simple : Units/Simple/exp

Units[Simple]

  

exp

  

exponential function

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

exp(expr)

ⅇ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 ex 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 unit and then enter the unit.

– 

When you edit a unit, double brackets appear around it.

withUnitsSimple:

exp2.5

12.18249396

(1)

The following is not allowed.

exp2.5Unitm

Error, (in Units:-Simple:-exp) the following expressions imply incompatible dimensions: {exp(2.5*Units:-Unit(m))}

However, in the following expression, x could be a distance, in which case x`/`m would be a unit-free expression. Therefore, this is a valid expression.

expxUnitm

ⅇx1m

(2)

eval,x=250.Unitcm

12.18249396

(3)

See Also

exp

Units

Units/logarithmic_gain

Units/Simple

Units/Simple/ln

Units[Standard]