Equalities and Inequalities 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/equalities

Equalities and Inequalities in the Natural Units Environment

Description

• 

In the Natural Units environment, the equality and inequality operators (=, <, <=, >, >=, and <>) are modified so that they perform the necessary operations on expressions with units.

• 

The properties of the five arithmetic operations are:

Aa=Bb>A=rB

Aa<Bb>A<rB

Aa<=Bb>A<=rB

Aa>Bb>A>rB

Aa>=Bb>A>=rB

Aa<>Bb>A<>rB

  

where a and b are units; A and B are coefficients; and r is the conversion factor from the unit b to the unit a.

with(Units[Natural]):

3*ft=yd;

3&equals;3

(1)

evalb((1));

true

(2)

1.60*m < mi;

1.60<201168125

(3)

evalb((3));

true

(4)

30.48*cm = ft;

30.48&equals;76225

(5)

evalb((5));

true

(6)

3 * ft + 3*`in` = m;

49535000&equals;1

(7)

evalb((7));

false

(8)

See Also

equalities and inequalities

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