Checking latex is not always reliable. Using computation is more accurate. If you add a graph component (which you can hide, or use a graph from a different slide), add this into the graph CL to make a function, f, in terms of n out of the student input:
function(`f`): simpleFunction(exp10.latex,"n")
Copy the URL below into the actual graph. I tried to give explanations of each part. Let me know if anything doesn’t make sense.