evaluate at a point - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Environments : Natural : Units/Natural/eval

Units[Natural][eval] - evaluate at a point

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 Natural Units environment, the eval function is overloaded to evaluate an expression after removing the units, and then combine the result with the units.

• 

For other properties, see the global function eval.

Examples

withUnits[Natural]:

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

Note: In Maple 2015 and later versions, units are not surrounded by double brackets.

velocity:=2gnheight

velocity:=2heightgn

(1)

velocityheight=3ft|velocityheight=3ft

1500023381196133ms

(2)

evalf

4.234902778ms

(3)

velocityheight=0.03km|velocityheight=0.03km

0.0173205080825196133ms

(4)

evalf

24.25693715ms

(5)

See Also

eval, evalf, Units, Units of Acceleration, Units/Natural


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam