Create question algorithms using the Algorithm Designer
The Algorithm Designer (accessed from within the Algorithm Editor) helps you build algorithmic commands without directly using algorithmic syntax.
The Algorithm Designer has 4 sections that you can complete to build your algorithmic commands:
Random Number — Generates random values using range-based variables.
Conditional Assignment — Generates explicit values based on defined relationships with other variables.
Maple Command — Use Maple commands to define or calculate variables.
Condition — Set rules that must be met when Möbius generates random values for variables.
You can complete as many sections as needed, and complete multiple versions of a single section to create multiple variables as needed. Example — Complete 3 iterations of the Random Number section to create 3 different variables.
Random Number section
Enter the name of the variable. Example —
nSelect the type of number to be generated from the drop-down list. Example —
wholeEnter the lower bound of the numerical range. Example —
1Enter the upper bound of the numerical range. Example —
10Enter the increment to be used. Example —
2Click Add to translate these parameters into algorithmic syntax.
The algorithmic command is translated to algorithmic syntax and is visible in the Algorithm Editor.
Conditional Assignment section
Enter the name of the variable that will be affected if the condition is satisfied. Example —
nEnter the value that the affected variable will be if the condition is satisfied. Example —
3Enter the name of a second variable that the first variable is dependent on for the condition. Example —
jSelect the relation from the drop-down list. Example —
equalsEnter the value that the second variable must be to satisfy the condition. Example —
50Enter the value that the first variable will be if the condition isn't satisfied. Example —
9Click Add to translate these parameters into algorithmic syntax.
The algorithmic command is translated to algorithmic syntax and is visible in the Algorithm Editor.
Maple Command section
Enter the name of the variable. Example —
uSelect the type of variable to generate from the drop-down list. Example —
variableEnter the Maple commands used to define the random variable, or enter the Maple plot statement. Example —
diff(x^$n+cos(x), x);(Optional) If you've created custom Maple commands, click Maple Repository to import and link to a Maple repository from the Class File Manager to reference your commands.
Click Add to translate these parameters into algorithmic syntax including Maple code.
The algorithmic command is translated to algorithmic syntax including Maple code and is visible in the Algorithm Editor.
Condition section
Enter the name of a variable that's to be affected by the condition. Example —
jSelect the conditional scenario from the drop-down list. Example —
is greater thanEnter the name of a second variable that is affected by the condition, or a specific value. Example —
nClick Add to translate these parameters into algorithmic syntax.
The algorithmic command is translated to algorithmic syntax and is visible in the Algorithm Editor.
