Evaluating correctness if the variable is something other than "x"

Here is a copy of a screen that is a part of my activity. If I use “x” instead of “m,” the screen checks correctness just fine… but it seems like any other letter does not work. How can this be fixed?

simpleFunction defaults in terms of x. I didn’t look a whole lot, but if this is the line, you just add the independent variable as a second parameter:

ans=simpleFunction(parseEquation(mi22.latex).rhs,"m")
1 Like

That worked, thank you.