For example, the following code snippet:
ANS(Compute("1+sqrt(2)")->cmp());
displays the correct answer as the typeset 1+sqrt(2)
, whereas
ANS(List(Compute("1+sqrt(2)"),Compute("1-sqrt(2)"))->cmp());
displays only the numerical values of the two answers as decimals.
Is there some way to have the list object preserve the strings that were passed to it for typesetting as correct answers? I'd prefer my students to see the more meaningful exact value correct answer to the decimals.