eval - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Units[Natural]

  

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 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

> 

with⁡UnitsNatural:

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

> 

velocity≔sqrt⁡2⁢gn⁢height

velocity≔2⁢height⁢gn

(1)
> 

eval⁡velocity,height=3⁢ft

2⁢3⁢381⁢1961335000⁢ms

(2)
> 

evalf⁡

4.234902778⁢ms

(3)
> 

eval⁡velocity,height=0.03⁢km

0.01732050808⁢2⁢196133⁢5⁢ms

(4)
> 

evalf⁡

24.25693715⁢ms

(5)

See Also

eval

evalf

Units

Units of Acceleration

Units/Natural