Equalities and Inequalities in the Simple Units Environment
Description
Examples
In the Simple Units environment, any verifications of valid dimensions ignore so-called Unit annotations.
In the Simple Units environment, the equality and inequality relators (=,<,≤,>,≥, and≠) are modified so that they perform the necessary operations on expressions with units.
Every command in the Simple Units environment that needs to determine whether an expression is valid or not, does so using the Units:-TestDimensions command.
The properties of these relators 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.
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⁡UnitsSimple:
1.60⁢Unit⁡m<Unit⁡mi
1.60<201168125
evalb⁡
true
In the following two cases, the units get converted to meters.
3⁢Unit⁡ft=Unit⁡yd
11431250=11431250
30.48⁢Unit⁡cm=Unit⁡ft
0.3048000000=3811250
3⁢Unit⁡ft+3⁢Unit⁡inch=Unit⁡m
49535000=1
false
See Also
equalities and inequalities
Units
Units/Simple
Download Help Document