Units of Fuel Consumption
Fuel consumption has the dimension volume of petroleum per length or length per volume of petroleum. The three standard units of fuel consumption are the liter of petroleum per 100 kilometers, the mile per gallon of petroleum, and the kilometer per liter of petroleum.
Maple knows the units of fuel consumption listed in the following table.
An asterisk ( * ) indicates the default context, an at sign (@) indicates an abbreviation, and under the prefixes column, SI indicates that the unit takes all SI prefixes, IEC indicates that the unit takes IEC prefixes, and SI+ and SI- indicate that the unit takes only positive and negative SI prefixes, respectively. Refer to a unit in the Units package by indexing the name or symbol with the context, for example, miles_per_gallon[US_liquid] or mpg[UK]; or, if the context is indicated as the default, by using only the unit name or symbol, for example, miles_per_gallon.
Because liters per 100 kilometers and miles per gallon have inverse dimensions, the conversion between them includes taking a reciprocal.
Maple uses Unit annotations for units of fuel consumption.
The unit of fuel consumption is defined as follows.
A US liquid or UK mile per gallon is defined as a standard mile per US liquid or UK gallon of petroleum, respectively.
The dimensions of the three units of fuel consumption are not all the same.
By default, Maple accepts a conversion of units of fuel consumption, such as the mpg, to units of length per volume, such as meter per gallon.
When the standard or natural modes for combining units are selected, Maple requires the correct annotation to the unit gallon in order to do this conversion. Otherwise, this constitutes an error:
Error, (in `convert/units`) unable to convert `mpg` to `m/gal`
The symbolic option makes convert ignore this issue, regardless of the currently selected mode.
Convert 4.4 L/100 km to mpg.
Convert 17.2 mpg to L/100 km.
Convert 4.4 L/100 km to km/L.
Convert 19.3 km/L to mpg.
Download Help Document
What kind of issue would you like to report? (Optional)