The Default Units Environment - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Science and Engineering : Units : Environments : Default : Units/default

The Default Units Environment

 The default Units environment does not accept any use of units. However, there are conversion routines that convert units.

 Note: The convert/units routine converts temperature intervals. For example, 1 degree Celsius is converted to 1 kelvin.  For conversions of absolute temperatures, use convert/temperature.
 These functions do not adversely affect the computation environment and are available to the user in every environment. Use only these functions if only simple conversions are required or system memory is a premium.  They should also be used in any programming environment after prototyping in the Natural or Standard environment.

Examples

 > $\mathrm{convert}\left(\frac{77}{1000},'\mathrm{units}',\frac{'W'}{'s'},\frac{'\mathrm{hp}'}{'\mathrm{hour}'}\right)$
 $\frac{{60000000000000}}{{161406898610881}}$ (1)
 > $\mathrm{convert}\left(32,'\mathrm{temperature}','\mathrm{degF}','\mathrm{degC}'\right)$
 ${0}$ (2)
 > $\mathrm{convert}\left(\left[\frac{'m'}{'s'},'\mathrm{mph}',\frac{'\mathrm{km}'}{'h'}\right],'\mathrm{conversion_table}','\mathrm{output}'='\mathrm{grid}'\right)$
 $\left[\begin{array}{cccccc}{}& {}& {\mathrm{To:}}& \frac{{m}}{{s}}& {\mathrm{mph}}& \frac{{\mathrm{km}}}{{h}}\\ {\mathrm{Unit Name}}& {\mathrm{Symbol}}& {}& {}& {}& {}\\ {\mathrm{meters per second}}& \frac{{m}}{{s}}& {}& {1}& \frac{{3125}}{{1397}}& \frac{{18}}{{5}}\\ {\mathrm{miles per hour}}& {\mathrm{mph}}& {}& \frac{{1397}}{{3125}}& {1}& \frac{{25146}}{{15625}}\\ {\mathrm{kilometers per hour}}& \frac{{\mathrm{km}}}{{h}}& {}& \frac{{5}}{{18}}& \frac{{15625}}{{25146}}& {1}\end{array}\right]$ (3)
 > $\mathrm{convert}\left(\frac{'V'}{'W'},'\mathrm{dimensions}'\right)$
 $\frac{{1}}{{\mathrm{electric_current}}}$ (4)
 > $\mathrm{convert}\left(127,'\mathrm{system}',\frac{'m'}{'s'},'\mathrm{FPS}'\right)$
 $\frac{{1250}}{{3}}$ (5)
 > $\mathrm{convert}\left(127,'\mathrm{units}',\frac{'m'}{'s'},\frac{'\mathrm{ft}'}{'s'}\right)$
 $\frac{{1250}}{{3}}$ (6)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam