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

Online Help

All Products    Maple    MapleSim


Arithmetic Operators in the Natural Units Environment

 

Description

Examples

Description

• 

In the Natural Units environment, the arithmetic operators (+, -, *, /, and ^) are modified so that they perform the necessary operations on expressions with units.

• 

Given units x and y, the properties of the five arithmetic operators are:

a⁢x+b⁢x→a+b⁢[x]

a⁢x+b⁢y→a⁢za+b⁢zb⁢[z]

−a⁢x→−a⁢[x]

a⁢x⁢b⁢x→a⁢b⁢z0⁢[z]

1a⁢x→1a⁢[1x]

a⁢xr→ar⁢[xr]

ab→ab

  

where r is a rational number; z is an appropriate unit from the given system; and za, zb, and z0 are appropriate multipliers.

Examples

> 

with⁡UnitsNatural:

> 

3⁢m+7⁢ft

64171250⁢m

(1)
> 

3⁢cms2⁢7⁢g

21100000⁢N

(2)
> 

−32⁢m

−32⁢m

(3)
> 

132⁢S

132⁢Ω

(4)
> 

3⁢m2

9⁢m2

(5)
> 

4x

4x

(6)

See Also

arithmetic operators

Units

Units/Natural