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

# 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

 • In the Standard Units environment, the equality and inequality operators ($=,<,\le ,>,\ge$, and$\ne$) are modified so that they perform the necessary operations on expressions with units.
 • The properties of the five arithmetic operations are:

$A\mathrm{Unit}\left(a\right)=B\mathrm{Unit}\left(b\right)\to A=rB$

$A\mathrm{Unit}\left(a\right)

$A\mathrm{Unit}\left(a\right)\le B\mathrm{Unit}\left(b\right)\to A\le rB$

$A\mathrm{Unit}\left(a\right)>B\mathrm{Unit}\left(b\right)\to A>rB$

$A\mathrm{Unit}\left(a\right)\ge B\mathrm{Unit}\left(b\right)\to A\ge rB$

$A\mathrm{Unit}\left(a\right)\ne B\mathrm{Unit}\left(b\right)\to A\ne 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$.

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 $\mathrm{unit}$ and then enter the unit.
 – When you edit a unit, double brackets appear around it.
 > $\mathrm{with}\left({\mathrm{Units}}_{\mathrm{Standard}}\right):$
 > $3⟦'\mathrm{ft}'⟧=⟦'\mathrm{yd}'⟧$
 ${3}{=}{3}$ (1)
 > $\mathrm{evalb}\left(\right)$
 ${\mathrm{true}}$ (2)
 > $1.60⟦'m'⟧<⟦'\mathrm{mi}'⟧$
 ${1.60}{<}\frac{{201168}}{{125}}$ (3)
 > $\mathrm{evalb}\left(\right)$
 ${\mathrm{true}}$ (4)
 > $30.48⟦'\mathrm{cm}'⟧=⟦'\mathrm{ft}'⟧$
 ${30.48}{=}\frac{{762}}{{25}}$ (5)
 > $\mathrm{evalb}\left(\right)$
 ${\mathrm{true}}$ (6)
 > $3⟦'\mathrm{ft}'⟧+3⟦'\mathrm{inch}'⟧=⟦'m'⟧$
 $\frac{{4953}}{{5000}}{=}{1}$ (7)
 > $\mathrm{evalb}\left(\right)$
 ${\mathrm{false}}$ (8)

 See Also