CL help with Quadratic Equations

I need help with my CL scripts!

Here’s what I want to do:
On Slide 1, I want the students to enter the correct equation in standard form (set = 0).

  • The equation should be 2x^2 - x - 3 = 0
  • The Note above it should be blank until the student has input an answer. Then it will respond depending on whether or not the student’s answer is correct.

I’ve done this on MULTIPLE other activities but only with ordered pairs or linear equations.
For this activity, for some reason, I cannot get the math input to accept a quadratic equation. I need help for the CL script to recognize the correct equation!

On Slide 2, I want the SCREEN Computation Layer to contain a coverText script. If the equation they have on Slide 1 is incorrect, it should force them back to Slide 1. If the equation is correct, then they should see the content of Slide 2.

On Slide 2, I want students to enter the factored form (set = 0).

  • The equation should be (2x - 3) (x + 1) = 0
  • The Note above it should be blank until the student has input an answer. Then it will respond depending on whether or not the student’s answer is correct.

On Slide 3, I want the SCREEN Computation Layer to contain a coverText script. If the equation they have on Slide 2 is incorrect, it should force them back to Slide 2. If the equation is correct, then they should see the content of Slide 3.

The rest of Slide 3 is good to go. I do not need help with the CL components other than the coverText script :slightly_smiling_face:

Here is a link to my activity.[DRAFT] Solving Quadratics

I SOLVED IT!!!
I figured out everything I needed :slight_smile:
Feel free to copy & edit if you want/need the coding for yourself.

Glad you figured this out! I do see you can see the next screen if you don’t submit.

I would strongly discourage using coverText to limit student interaction. If an error occurs on the first screen, or a student simply cannot get it correct, you lock them out of participating in dependent screens.

As an alternative, since you already give feedback on Screen 1, I’d recommend updating your subtitles to simply include the student’s answer from the prior screen, rather than the correct equation:

subtitle:"${input11.latex}
Use the sketchpad to show your work."

You could have an additional conditional note indicating the prior screen was incorrect, if desirable.