Author a formula with physical units sub-type

This sub-type is authored by selecting the Formula with physical units option from the Sub-type drop-down list during mathematical formula question authoring.

Examples of accepted syntax for defining the Answer field value for this sub-type are:

  • 6 mg
  • 2*t m/s
  • sin(x) m/s^2
  • (3*t^2+1) km/hr

The formula with physical units sub-type Answer field:

  • Accepts a combination of numeric quantities, algebraic formulas, unit dimensions, and physical units.
  • Is recommended when the student is required to specify the physical units for their response.
  • Recognizes response equivalence, and only recognizes physical unit equivalents as equivalent responses if the units within the student response are recognized by Möbius (check out Author a question with physical units).

NOTE: The formula with physical units question is one of the ten sub-types of the mathematical formula question. Check out Choose a mathematical formula question sub-type for an explanation of each of the ten available mathematical formula question sub-types.

TIP: Check out Author a mathematical formula question for full question authoring instructions.

TIP: If the numeric component of your correct response is composed of several numbers and/or variables, be sure to wrap this numeric portion of the correct response in brackets for it to be calculated and separated from the units component (Example($b*$a-$b) mL).

Example of this sub-type

  • Question statement:

A particle moves along the x-axis such that its position x after t seconds (s) is ‌t2 meters (m).

Give the expression for the particle's velocity at time t.

  • Answer field syntax:

2*t m/s

Example of this sub-type with an algorithm

  • Question statement:

A particle moves along the x-axis such that its position x after t seconds (s) is ‌$a t2 meters (m).

Give the expression for the particle's velocity at time t.

  • Algorithm:
Copy this code
$a=2+rint(5);
$b=2*$a;

  • Answer field syntax:

$b*t m/s

NOTE: The dollar sign ($) character can only be used in mathematical formula questions when it's a part of a variable name. Be sure to define algorithmic variables in the Algorithm pane in order to use them in the Answer field.