Author a formula without logs and trig sub-type
This sub-type is authored by selecting the Formula without logs and trig 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:
1/sqrt(2)(1/3)*3^(1/2)
The formula without logs and trig sub-type Answer field:
Accepts numbers and formulas that don't include logarithms or trigonometric functions.
Accepts basic operations (Example — arithmetic operations, sqrt, etc.).
Accepts equivalent responses so long as logarithms or trigonometric functions aren't included in the submitted student response.
Example of this sub-type
Question statement:
Evaluate:
tan(π/6)
Answer field syntax:
(1/3)*3^(1/2)
Example of this sub-type with an algorithm
Question statement:
Evaluate:
$f(π/$a)
Provide the exact algebraic expression.
Do not round your answer.
Algorithm:
$n=rint(20) + 2;
$a=switch(rint(3),3,4,6);
$z=rint(3);
$f=switch($z,"sin","cos","tan");
$comp=maple("$f(Pi/$a)");
$ans="$comp";
Answer field syntax:
$ans
