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

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Environments : Standard : Equalities and Inequalities

Equalities and Inequalities in the Standard Units Environment

 

Description

Examples

Description

• 

In the Standard 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:

A⁢Unit⁡a=B⁢Unit⁡b→A=r⁢B

A⁢Unit⁡a<B⁢Unit⁡b→A<r⁢B

A⁢Unit⁡a≤B⁢Unit⁡b→A≤r⁢B

A⁢Unit⁡a>B⁢Unit⁡b→A>r⁢B

A⁢Unit⁡a≥B⁢Unit⁡b→A≥r⁢B

A⁢Unit⁡a≠B⁢Unit⁡b→A≠r⁢B

  

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.

Examples

Notes: 

– 

To enter a unit in 2-D Math input, select the unit from the appropriate Units palette. If the unit you want is not there, select unit and then enter the unit.

– 

When you edit a unit, double brackets appear around it.

> 

with⁡UnitsStandard&colon;

> 

3⁢Unit⁡ft=Unit⁡yd

3=3

(1)
> 

evalb⁡

true

(2)
> 

1.60⁢Unit⁡m<Unit⁡mi

1.60<201168125

(3)
> 

evalb⁡

true

(4)
> 

30.48⁢Unit⁡cm=Unit⁡ft

30.48=76225

(5)
> 

evalb⁡

true

(6)
> 

3⁢Unit⁡ft+3⁢Unit⁡inch=Unit⁡m

49535000=1

(7)
> 

evalb⁡

false

(8)

See Also

equalities and inequalities

Units

Units/Standard