Hi,

I’m new to using the computation layer, and would appreciate some help.

My goal is for the students to see the effect that adding a point has to the least square regression line. I want to start with 4 points and have the students input a 5th. So on the graph, I want the original 4 points to always be visible, the 5th point to be visible when they add it, the original regression line to always be visible, and the new regression line to take into account the added point.

I’ve figured out how to get a student inputted point to show on the graph. I also have the original 4 points and the original regression line showing. But I haven’t been able to figure out how to take the input from the table and add it to the regression line (I believe that if I want both the original and the new one to graph, I will need two regression lines).

Is it possible to do what I’m looking to do?

Thanks.

https://teacher.desmos.com/activitybuilder/custom/66f5a65a64320b7d11bdf03b