Function taking a string of characters and transforming it to allow its interpretation as an expression or formula to be computed. This function is necessary to make computation questions as alternatives are numbers are generated as the question is created.

prepare_evaluation(x)

Arguments

x

Character. A string of character which can be interpreted as an expression.

Value

Expression of formula which can then be computed to produce the numeric part of a proposition.

Author

Nicolas Mangin