Standard Units Environment - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Applications and Example Worksheets : Language and System : examples/StandardUnits

Standard Units Environment

The Standard Units environment is an environment designed for computations with units.  This environment is set up by using the command with(Units[Standard]).

 

Various procedures are overloaded to handle units. For example, sin3.0degrees evaluates the sine of 3 degrees and max4m,10ft  returns 4m.

 

Arithmetic operators are overloaded to extract units from their operands.  For example, 3m+4cm evaluates to 7625m and 53.32km 1.3h evaluates to 11.39316239ms, which can be converted to 25.48577843mph.

 

Note:  Although easier to use, it is slower, in general, to perform computations in the Standard Units environment than to use the conversion routines at the top-level.

 

These computations can also be done in the Natural Units environment or at the top-level by using only conversion routines (see Default Units). Each example in this worksheet is also in the other worksheets to show how you can perform the computations in the other environments.

restart

withUnitsStandard:

Return to Index for Example Worksheets.


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