Exponents in CL

Hi! I am trying to edit my computation layer to show my students in their answer is correct or not. I have attached some screenshots of what I have currently.

I want desmos to tell them they are correct when they input 5^x.

Thank you in advance for the help!

Screen Shot 2022-04-04 at 11.29.45 AM

You need curly braces rather than brackets - y=5^{x}. It’s also generally better to use backticks rather than quotes when referring to LaTeX - so


rather than input.latex="y=5^{x}" (although it doesn’t matter specifically in this case).

If in doubt as to what the LaTeX should look like, I usually type the expression as I want it in Desmos and then copy-and-paste from there - it pastes it for you as correct LaTeX.