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$

$AaA

$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}{=}{3}$ (1)
 > evalb((1));
 ${\mathrm{true}}$ (2)
 > 1.60*m < mi;
 ${1.60}{<}\frac{{201168}}{{125}}$ (3)
 > evalb((3));
 ${\mathrm{true}}$ (4)
 > 30.48*cm = ft;
 ${30.48}{=}\frac{{762}}{{25}}$ (5)
 > evalb((5));
 ${\mathrm{true}}$ (6)
 > 3 * ft + 3*in = m;
 $\frac{{4953}}{{5000}}{=}{1}$ (7)
 > evalb((7));
 ${\mathrm{false}}$ (8)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 15, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9057295918464661, "perplexity": 4534.711952617703}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": false}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2016-22/segments/1464049274119.75/warc/CC-MAIN-20160524002114-00164-ip-10-185-217-139.ec2.internal.warc.gz"}