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.

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 logs and trig 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:

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:
Copy this code
$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

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.