Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
convert/units - convert between units
Calling Sequence
convert(u, 'units', unitFrom, unitTo, opts)
convert(u*Unit(unitFrom), 'units', unitTo, opts)
Parameters
u
-
expression
unitFrom
symbol; unit to be converted from
unitTo
symbol; unit to be converted to
opts
(optional) equation(s) of the form option=value where option is one of energy or symbolic; specify options for the conversion
Description
The convert(u, 'units', unitFrom, unitTo) function multiplies the value u by the conversion factor from UnitFrom to UnitTo.
The units unitTo and unitFrom can be labeled in any way accepted by the Units package, for example, name, abbreviation, or symbol.
Note: Thermodynamic temperature conversions are for temperature intervals, not absolute temperatures. For example, 1 degree Celsius is converted to 1 kelvin, not 274.15 kelvin. For conversions of absolute temperatures, use convert/temperature.
You can modify the properties of the conversion by including options opts. The opts argument can contain one or more of the following equations.
'energy'=truefalse
If this option is set to true, the conversion can be between energy units, not necessarily units with the same dimensions. Furthermore, UnitTo can be set to to convert to a dimensionless quantity. For more information about energy transformations, see Energy Conversions.
'symbolic'=truefalse
This option specifies whether annotations to units should be ignored. By default, this option is set to false.
Examples
See Also
convert, convert,conversion_table, convert/dimensions, convert/temperature, convert/unit_free, electric permittivity, Energy Conversions, Units, Units/Index
Download Help Document