Help reprogramming slide to match polynomial equation

I found this slide, and really would like to use it but i need help reprogramming the coding on the demos graphing slide to match the following equation: x(x+3)(x-4)^2.

I do not know how to sink the table with the coding in the graph and the cl builder of the graph.

thank you!

@brittany_beal

Seems like to me you probably want to do something like func = simpleFunction("x(x+3)(x-4)^2", "x") or parseEquation.

(as usual i will be pinging @Daniel_Grubbs because he is just knows so much more than me, i’m not actually a specialist its just an exploit, and its going to get taken done sometime now :expressionless_face:)

Hey @brittany_beal! " Check out the updates here. The original has a lot going on because the CL is set-up to generate a random problem for each student. Since you want every student to get the same problem, I explicitly defined the roots and factors in the note CL, but that negates the need for a lot of the CL meant for dynamic problems.

In the table, I explicitly defined the y-intercept and degrees.

Finally, in the graph I defined the the roots, adjusted the bounds so that you could see the graph,


and adjusted P2 in the graph so that it used the 3rd factor twice.

Definitely a little over complicated for a specific problem, but its working! If you wanted to make a similar screen for a different problem, you could probably start from scratch just as quickly as trying to edit it this one.

1 Like