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+x3*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.
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:
$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
