Arithmetic Operators in the Natural Units Environment - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Environments : Natural : Units/Natural/arithop

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:

ax+bxa+b[x]

ax+byaza+bzb[z]

axa[x]

axbxabz0[z]

1ax1a[1x]

axrar[xr]

abab

  

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

Examples

Note: In Maple 2015 and later versions, units are not surrounded by double brackets.

withUnits[Natural]:

3m+7ft

64171250m

(1)

3cm7gs2

21100000N

(2)

32m

32m

(3)

132S

132Ω

(4)

3m2

9m2

(5)

4x

4x

(6)

See Also

arithmetic operators

Units

Units/Natural

 


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