Author a formula without simplification sub-type

This sub-type is authored by selecting the Formula without simplification 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:

  • 4*x+x
  • 3*x^2+9*x+10

The formula without simplification sub-type Answer field:

  • Accepts numbers, formulas, and more advanced operations (Example — trigonometric functions, logarithms, etc.).
  • Accepts only the exact expression from the Answer field; doesn't accept most mathematically equivalent responses.
  • Is recommended when no simplification is wanted when the student's response is compared to the correct answer.

NOTE: This question sub-type allows the student to choose whether they want to submit their response using Symbol Mode (using the Equation Editor) or Text Mode (as a single line using their keyboard).

NOTE: The formula without simplification 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:

Add the polynomials:

3x2+5x+1 and 4x+9

  • Answer field syntax:

3*x^2+9*x+10

Example of this sub-type with an algorithm

  • Question statement:

Add the polynomials:

$a*x^2+$b1*x+$c1 and $b2*x+$c2

  • Algorithm:
Copy this code
$b1=rint(2,10);
$b2=rint(2,10);
$c1=rint(2,6);
$c2=rint(2,6);

$a=rint(2,10);
$b=$b1+$b2;
$c=$c1+$c2;

  • Answer field syntax:

$a*x^2+$b*x+$c

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.