Checking correctness with mixed numbers

I want students to submit answers as simplified mixed numbers.

When I use the code below to check for correctness, 1 11/15 is marked incorrect due to the space between “1” and “11/15”.

correct: a3.latex="1\frac{11}{15}"

If I type “1 11/15” in the Math Response box then delete the space between “1” and “11/15”, the answer is marked correct.

Any ideas on how to check for correctness with or without the space between “1” and “11/15”?

Thanks!

There’s a mixed number pattern that you probably want to use instead of checking latex. Check screen 2 here: numeric feedback • Activity Builder by Desmos

2 Likes

Makes sense, thanks so much!