Random Exercise Parameters

You create random exercises by defining exercise parameters and assign them random values. You define these exercise parameters in the Randomization panel in the top bar of the exercise. Add the panel with the settings dropdown button on the left if the panel is not already visible.

Accessing the Randomization panel Figure: Accessing the Randomization panel.

Creating exercise parameters Figure: Creating exercise parameters.

The exercise parameter form

The easiest way to define exercise parameters is to use the form for the following types of exercise parameters:

  • Number. The parameter will get a random integer number in the given range. You can add a list of numbers to exclude.
  • Selection. The parameter will be a random expression from the given options. The options are not limited to numbers but can be any mathematical expression.
  • Expression. The parameter will equal the given expression. Note that this option is not random.

Note that the definition of an exercise parameter can depend on any of the previous exercise parameters.

Calculating and approximating an exercise parameter Figure: Calculating and approximating an exercise parameter.

If the parameter is of type Selection or Expression, you may want to let Algebrakit simplify the expression. For example, if an exercise parameter has definition c1x+c2c1 x + c2, where c1=1c1=1 and c2=0c2=0, then the assigned value is 1x+01x+0. You probably want this to be simplified to xx.

Another option is to let Algebrakit evaluate the parameter numerically. Consider for example an exercise parameter with definition c1c2\frac{c1}{c2}, where c1=2c1=2 and c2=3c2=3. You can let Algebrakit calculate and approximate the value.

Using exercise parameters

You can use exercise parameters in any mathematical expression in your exercise. Every time a new question is started, Algebrakit will assign definitions to the exercise parameters and substitute the exercise parameters in the exercise.

Using exercise parameters in a question Figure: Using exercise parameters in a question.