eval - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

Units[Simple]

  

eval

  

evaluate at a point

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

eval(expr, x = a)

exprx=a|exprx=a

eval(expr, eqns)

 

Parameters

expr

-

algebraic expression

x

-

usually name, but may be general expression

a

-

algebraic expression

eqns

-

set or list of equations

Description

• 

In the Simple Units environment, any verifications of valid dimensions ignore so-called Unit annotations.

• 

In the Simple Units environment, the eval function is overloaded to evaluate an expression, taking units into account.

• 

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.

• 

For other properties, see the global function eval.

Examples

withUnitsSimple:

The following defines velocity in terms of the acceleration_of_free_fall unit (gn) and the variable height.

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.

velocitysqrt2Unitgnheight

velocity2heightgn

(1)

evalvelocity,height=3Unitft

233811961335000ms

(2)

evalf

4.234902778ms

(3)

evalvelocity,height=0.03Unitkm

0.0173205080821961335ms

(4)

evalf

24.25693715ms

(5)

See Also

eval

evalf

Units

Units of Acceleration

Units/Simple

 


Download Help Document