Units[Natural]
eval
evaluate at a point
Calling Sequence
Parameters
Description
Examples
eval(expr, x = a)
exprx=a|exprx=a
eval(expr, eqns)
expr
-
algebraic expression
x
usually name, but may be general expression
a
eqns
set or list of equations
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.
withUnitsNatural:
The following defines velocity in terms of the acceleration_of_free_fall unit (gn) and the variable height.
velocity≔sqrt2gnheight
velocity≔2heightgn
evalvelocity,height=3ft
233811961335000ms
evalf
4.234902778ms
evalvelocity,height=0.03km
0.0173205080821961335ms
24.25693715ms
See Also
evalf
Units
Units of Acceleration
Units/Natural
Download Help Document