Found an answer to my question in slide 9 of the absolute value activity from Desmos.
I used this and then had y=g(x) setup as a function in the graph:
function("g"): simpleFunction("g\\left(x\\right)=\\left\\{${input9.latex}:.4,\ 10\\right\\}")
Found an answer to my question in slide 9 of the absolute value activity from Desmos.
I used this and then had y=g(x) setup as a function in the graph:
function("g"): simpleFunction("g\\left(x\\right)=\\left\\{${input9.latex}:.4,\ 10\\right\\}")