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

Online Help

All Products    Maple    MapleSim


Simple Units Environment

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

 

Various procedures are overloaded to handle units. For example,  evaluates the sine of 3 degrees and   returns .

 

Arithmetic operators are overloaded to extract units from their operands. For example,  evaluates to  and  evaluates to , which can be converted to .

 

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

 

These computations can also be done in the Standard Units or 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.

Automatically loading the Units[Simple] subpackage


Simple Examples

Add 4 feet to 3 inches.

(1.1)

(1.2)

How many meters are equivalent to 4 yards?

(1.3)

(1.4)

How many liters are equivalent to 5 UK gallons?

(1.5)

How many liters are equivalent to 5 US gallons?

(1.6)

How many US liquid gallons are equivalent to a UK gallon?

(1.7)

Return to Index for Example Worksheets


Download Help Document