6.10 Using a Table of Units - Maple T.A. 2016 Help

Instructor
Select your version: Maple T.A. 2017 | Maple T.A. 2016 | Maple T.A. 10

## 6.10 Using a Table of Units

### Default Table of Physical Unit Equivalents

The system recognizes many, but not all, units. To use equivalent units that are not recognized, create a custom table of units for your question bank.

The following tables give the default units recognized by the system.

Table 6.8: Base units recognized by Maple T.A.

 Base Units Unit Definition Name m meter s second kg kilogram A amp K kelvin

Table 6.9: Derived units recognized by Maple T.A.

Derived Units

Unit

Definition

Name

ng

10-9 g

nanogram

µg

10-6 g

microgram

mg

10-3 g

milligram

g

0.001 kg

gram

Mg

106 g

megagram

lb

453.59237 g

pounds (Avoirdupois)

lbs

lb

pounds (Avoirdupois)

oz

(1/16) lb

ounces (Avoirdupois)

deg

π/180

degree

degree

π/180

degree

degrees

π/180

degree

1

1

1

nm

10-9 m

nanometer

µm

10-6 m

micrometer

mm

10-3 m

millimeter

km

103 m

kilometer

Mm

106 g

megameter

meter

m

meter

meters

m

meter

cm

0.01 m

centimeter

centimeter

cm

centimeter

centimeters

cm

centimeter

ft

0.3048 m

foot

foot

ft

foot

feet

ft

foot

in

(1/12) ft

inch

inch

in

inch

inches

in

inch

yd

3 feet

yard

yard

yd

yard

yards

yd

yard

mi

5280 feet

miles (statute)

mile

mi

miles (statute)

miles

mi

miles (statute)

L

10-3 m3

liter

nL

10-9 L

nanoliter

µL

10-6 L

microliter

mL

10-3 L

milliliter

kL

103 L

kiloliter

ML

106 L

megaliter

liter

L

liter

liters

L

liter

sec

s

second

second

s

second

seconds

s

second

min

60 s

minute

minute

min

minute

minutes

min

minute

h

60 min

hour

hr

h

hour

hour

h

hour

hours

h

hour

as

10-18 s

attosecond

fs

10-15 s

femtosecond

ps

10-12 s

picosecond

ns

10-9 s

nanosecond

µs

10-6 s

microsecond

ms

10-3 s

millisecond

ks

103 s

kilosecond

Ms

106 s

megasecond

N

kg m s-2

newton

nN

10-9 N

nanonewton

µN

10-6 N

micronewton

mN

10-3 N

millinewton

kN

103 N

kilonewton

MN

106 N

meganewton

J

N m

joule

nJ

10-9 J

nanojoule

µJ

10-6 J

microjoule

mJ

10-3 J

millijoule

kJ

103 J

kilojoule

MJ

106 J

megajoule

Pa

N m-2

pascal

nPa

10-9 Pa

nanopascal

µPa

10-6 Pa

micropascal

mPa

10-3 Pa

millipascal

kPa

103 Pa

kilopascal

MPa

106 Pa

megapascal

W

J s-1

watt

nW

10-9 W

nanowatt

µW

10-6 W

microwatt

mW

10-3 W

milliwatt

kW

103 W

kilowatt

MW

106 W

megawatt

Hz

s-1

hertz

nHz

10-9 Hz

nanohertz

µHz

10-6 Hz

microhertz

mHz

10-3 Hz

millihertz

kHz

103 Hz

kilohertz

MHz

106 Hz

megahertz

GHz

109 Hz

gigahertz

THz

1012 Hz

terahertz

C

A s

coulomb

nC

10-9 C

nanocoulomb

µC

10-6 C

microcoulomb

mC

10-3 C

millicoulomb

kC

103 C

kilocoulomb

MC

106 C

megacoulomb

nA

10-9 A

nanoamp

µA

10-6 A

microamp

mA

10-3 A

milliamp

kA

103 A

kiloamp

MA

106 A

megaamp

V

J C-1

volt

nV

10-9 V

nanovolt

µV

10-6 V

microvolt

mV

10-3 V

millivolt

kV

103 V

kilovolt

MV

106 V

megavolt

ohm

V A-1

ohm

nohm

10-9 ohm

nanoohm

µohm

10-6 ohm

microohm

mohm

10-3 ohm

milliohm

kohm

103 ohm

kiloohm

Mohm

106 ohm

megaohm

S

A V-1

siemens

nS

10-9 S

nanosiemens

µS

10-6 S

microsiemens

mS

10-3 S

millisiemens

kS

103 S

kilosiemens

MS

106 S

megasiemens

F

C V-1

nF

10-9 F

µF

10-6 F

mF

10-3 F

kF

103 F

MF

106 F

Wb

V s

weber

nWb

10-9 Wb

nanoweber

µWb

10-6 Wb

microweber

mWb

10-3 Wb

milliweber

kWb

103 Wb

kiloweber

MWb

106 Wb

megaweber

T

Wb m-2

tesla

nT

10-9 T

nanotesla

µT

10-6 T

microtesla

mT

10-3 T

millitesla

kT

103 T

kilotesla

MT

106 T

megatesla

H

Wb A-1

henry

nH

10-9 H

nanohenry

µH

10-6 H

micorhenry

mH

10-3 H

millihenry

kH

103 H

kilohenry

MH

106 H

megahenry

lm

cd

lumen

lx

cd m-2

lux

mol

6.02214199 ⋅ 1023

mole

mole

6.02214199 ⋅ 1023

mole

moles

6.02214199 ⋅ 1023

mole

M

mol L-1

molar

Molar

mol L-1

molar

Table 6.10: Other units recognized by Maple T.A.

 Other Units Unit Definition Name degC (T + 273.15) K degree Celsius degF (5/9)(T-32) + 273.15 K degree Fahrenheit

### Custom Table of Equivalent Units

You can specify a table of custom equivalent units, which you can use in any Numeric question in the question bank. You can define new units, or add additional names or symbols for base units.

#### Defining a Table of Equivalent Units for a Question Bank

To define a table of units for a question bank, you need to create a question bank in plain text format and include an equivalent units table at the beginning of file. This table requires the following structure:

```qu.env.numeric.<tablename>=
<table_definition>
@```

where <tablename> is a string of lower-case letters (without spaces) identifying the table. Once the table of units is defined, you need to upload the question bank.

##### Table Structure

A table of unit definitions <table_definition> has the general structure:

```  <new_unit1>  = <numeric_multiplier1><old_unit1>, description1;
<new_unit2>  = <numeric_multiplier2><old_unit2>, description2;```

For example:

```  gr  = 1m, grain (metric);
Gr  = 0.00006479891kg, grain (troy);

```
 Note: All unit definitions must reduce to the base SI units: m (meter), kg (kilogram), s (second), A (amp), K (kelvin), and cd (candela). Units can be derived in terms of other units, for example, micron = 0.0001cm, provided that you include the line cm = 0.01m (or otherwise relate cm with the base SI unit m) in your table.

##### Include Table-specific Help

Optionally, there can be a line

`qu.env.numeric.tablename.help=http://myhelpurl@`

where myhelpurl is the URL of a page with help information on the units in the table.

#### Using a Custom Table of Unit Equivalents in a Question

To use a table of units, include the following statement in the question definition of any Numeric question in your question bank.

```qu.<topic_number>.<question_number>.units=<tablename>@
```

#### Replacing Derived Units with Custom Units in Units Table

When custom units are used in a question, the custom units are automatically appended to the table of base and derived units available to students.

To instead replace the derived units in this table with the custom units (base units are always displayed), include the following statement in the question definition.

`qu.<topic_number>.<question_number>.appendUnits=false@`