Text Variables
Random selection
Define a value list from which a value is randomly selected. The alternative values are separated by a line break, comma, or semicolon.
If the selection value contains a comma, a backslash needs to be inserted before the comma. (Example: "The condition\, which ...")
Possible entries are for example:
- Random selection: Car; motorcycle; bicycle: One of the specified values will be randomly selected, for example "bicycle".
Direct value assignment
You can directly assign a value to all types of variables in order to initialise them. Later on, the value can be changed depending on other variables (cf. conditions).
Possible entries are for example:
- Value: Hans: The variable is assigned the value "Hans".
- Value: The function increases linearly: The variable is assigned the value "the function increases linearly".
Calculation (MAXIMA)
MAXIMA allows for the work with strings and formulas. You can calculate variable values on the basis of other variables. Indicate your calculation rule in MAXIMA notation.
Possible entries are for example:
- Calculation (MAXIMA): string({a}*x+5): A simple function equation is calculated including the variable value {a}. Plase note that the variable {a} must have been previously defined.
- Calculation (MAXIMA): string(integrate({function},x,0,1)): MAXIMA enables complex mathematical calculations. The derivative of a sample function (e.g. 5*x+5) could result in the value "15/2".
- Calculation (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): MAXIMA also facilitates the return of latex content.