In an activity I made, on Slide 11 (Question 8) I had previously made `m∠JCK=`

the initialLatex for the Math Response, but when I was trying to add feedback using the following Desmos CL code, it would not mark the answer correctly:

```
correct: this.latex = `m∠JCK=50`
```

This alternative CL didn’t work either:

```
correct: parseEquation(this.latex).rhs=`50`
```

Neither worked until I removed the “∠” symbol from the initialLatex, so does Desmos not support the angle symbol for the correct sink?

I don’t know the answer for sure, but I can confirm that I agree with your assessment that the symbol is not getting recognized. If you post a link to the activity we might be able to look more closely at the exact screen.

I am having a similar issue. I wanted to have students enter the inverse function for f(x) in a math response box. I used the initial text “f^-^1(x)=” which does correctly format the standard notation for an inverse function. However, while it will display correctly, it will not work for providing feedback via the correct variable.

You might have more joy with:

```
f^{-1}\left(x\right)
```

1 Like

Thank you so much pirsquared that worked!! If anyone knows of a page that instructs on the formatting for this or has a book to recommend on the topic I am really interested in learning more about the computational layer. Should I just be looking for an intro Java resource or is there a more efficient way of teaching myself?

Regarding LaTeX formatting and recognized symbols, one suggestion is to try typing what you want into the Desmos Graphing Calculator and see if you can type an expression without any errors popping up. For example, if I type in ∠M=20, an error pops up reading, “Sorry, I don’t understand the ‘∠’ symbol.” If the Graphing Calculator does not support a particular notation, you can expect that CL also does not.

If you can type an expression without any errors, then copying and pasting it from the calculator into CL will automatically convert it into LaTeX (e.g. copying an inverse function will give you the LaTeX that @pirsquared provided).

@sergeballif shared some great explanation in this thread of why LaTeX use is limited in Desmos.

One last note - one useful resource for teaching yourself CL is the official documentation.

1 Like

A slight tangent to this, but relevant to the original question, is that any method associated with parseEquation will not function if the GC does not recognize the equation is valid. For example, even though the right hand side of a latex equation is a valid expression, parseEquation(this.latex).rhs will have an error if the lhs is not a valid expression as well.

1 Like