Author an ordered lists of formulas sub-type

This sub-type is authored by selecting the Ordered lists of formulas 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:

  • 2, 4, 8, 16
  • sqrt(3)/2, 1/2, sqrt(3)

The ordered lists of formulas sub-type Answer field:

  • Accepts a list of numbers or formulas separated by commas (,)that are in a specific order.
  • Requires student responses to be entered in the same order as defined by the correct answer.
  • Accepts equivalent responses.
  • Doesn't accept a list enclosed in parentheses.

TIP: Be sure to author instructions for your students to inform them to enter an list of formulas in a specified order that's separated by commas.

NOTE: The ordered lists of formulas 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.

Example of this sub-type

  • Question statement:

Compute the exact values of:

sin(π/3), cos(π/3), tan(π/3)

Provide your answer as an ordered list based on the question order. Separate your list with commas.

  • Answer field syntax:

sqrt(3)/2, 1/2, sqrt(3)

Example of this sub-type with an algorithm

  • Question statement:

Compute the exact values of:

sin($nπ/$d), cos($nπ/$d), tan($nπ/$d)

Provide your answer as an ordered list based on the question order. Separate your list with commas.

  • Algorithm:
Copy this code
$i=rint(7);
$n=switch($i,"","",2,5,5,7,5);
$d=switch($i,3,4,3,4,3,4,6);
$sinans=switch($i,"sqrt(3)","sqrt(2)/2","sqrt(3)/2","-sqrt(2)/2","-sqrt(3)/2","-sqrt(2)/2","1/2");
$cosans=switch($i,"1/2","sqrt(2)/2","-1/2","-sqrt(2)/2","sqrt(2)/2","1/2","-sqrt(3)/2");
$tanans=switch($i,"sqrt(3)",1,"-sqrt(3)",1,"-sqrt(3)",-1,"-sqrt(3)/3");

  • Answer field syntax:

$sinans, $cosans, $tanans

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.