Here’s a little challenge from me and @SarahMW. How would you validate a student’s answer on this screen? Make a copy of the activity and share your strategies here!

While you work on the challenge, think about how you can honor student thinking even on a simple screen like this one.

The idea is to validate their equation both in terms of the correct answer and in terms of the graphed line, assuming there is a mistake in the plotting of the points. I tried to use different colors and some animation to try and show these things, but I think it ended up feeling a little too visually busy.

If I am expecting slope-intercept form, I might use this code in the CL:
function(f): when equation.submitted simpleFunction(equation9.latex)
otherwise simpleFunction(``)

I would then list f(x) in the graph editor and name the math response box “equation”. It would display a new line based on their equation after they click the Submit button.