So I put together this screen to let students input a function, and a value a at which they want to generate values for finding a limit. Is there a way to suppress that error warning in the a= input? It reads “Cannot evaluate expression.”
Or am I using the wrong code here? The only thing I have on the math input is: initialLatex: “a=”. I even tried setting warning: " " but that did not make it go away.
Everything works, and the warning goes away as soon as a value is entered.
I was an issue with the graph component. Maybe there’s a different way, but this seems to work: number("a"): simpleFunction(input9b.latex).evaluateAt(1)
Thank you so much!! That does the trick. I did think it had something to do with the way the input was being “grabbed” but wasn’t sure what to do differently. I tried using input9b.latex but got the warning about “expecting a number”. This works great!