Hi. A lot of the computation layer documentation is lacking code examples. Was hoping to solve this mystery.

I have a table where I ask student to enter responses to questions where students have to reduce a radical into simplified radical form. So if I give them a randomly generated question like \sqrt{72} and expect 6*\sqrt{2} as an answer, I am trying to build in correctness. So far,

check1 =

when this.cellNumericValue(1,2)= simpleFunction("\sqrt{f}",“f”).evaluateAt(a) 1

otherwise 0

This code checks if their answer evaluates to \sqrt{72} but I am trying to also find a way to check their latex input if it is reduced to simpified form by checking to see if there is a \sqrt{prime}. I am hoping maybe ExpressionPatternMatch can help with this but I do not know how to implement it? Or is there something else?