Showing the student's input on the graph tool

I’m new to all these CL things and would really appreciate your help with this.

I have a sketch tool that has graph backgrounds from previous screens, and would like it to show the graph of the equation my student enters in the input box.

I made a slide just to ask this question lol.

Thank you!

In your graph CL:

function("h"): parseEquation(input.latex).differenceFunction("x","y")

(Change “input” to whatever your input component is named.) This will create a function h(x,y)= left side - right side. To display it, in the actual graph add an expression line:
0=h(x,y)
You can define h(x,y) in the graph initially to choose your color and other features. It will be overwritten by the input box.