Button Reveal Graph

Wondering if someone can help me with this activity! I want students to be able to compare the graph of an original polynomial to the graph of the expression they created to see if they’re equivalent. I have a button set up to reveal the original polynomial, and I’m having a hard time figuring out how to set up a second button to graph the expression they wrote on the previous slide.


Add y=f(x) {s_howStudent=1} into your graph.

In your CL:

function(`f`): simpleFunction(exp1.latex)
number(`s_{howStudent}`): numericValue("\mod(${button2.pressCount},2)")

(Also, the second number you had defined should’ve worked if you’d capitalize the g, then you won’t need the first line of code.)