Example Worksheet - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim

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]), or alternatively by using the commands Units[UseMode](standard) and with(Units), in that order.


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 Simple Units environment or 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.



Return to Index for Example Worksheets