Desmos CL - Lesson 23: Random Standard Linear Equation to Graph

Hey everyone!  Here is all the code you will need to create a desmos activity where the activity will give the student a random linear equation in standard form and ask the students to rewrite it in slope-intercept form, then click and drag two points to create the graph.  AND this will also give feedback to both the student and the teacher.  Finally, I'll show you how to add a button in order to allow the students to practice FOREVER!  Whew, that was a lot.  Let's get started.

Personally, I think the youtube videos are easier to learn from, but sometimes I just want to read.  So, here is a blog post for all of you readers!

Here is a link to the youtube video that goes through the process as well.


Here is a link to the desmos activity that we created in the youtube video.


Click here to see a list of all the video lessons.



To start, you will need to add the following components to your desmos screen:

1 Graph, 2 Notes, and 1 Sketch


Step 1: Graph Component

Label the graph component --> graph1

Click on the graph to edit.

Add the points (a,b) and (c,d) and add the sliders.  Change each variable to have a step of 1.


Next we'll add the slope, y-intercept, and the line:


m will calculate the slope that they create and z will calculate the y-intercept that they create.  We'll need this in order to see if they graphed the line correctly.  
y = mx + z is there to show the line that passes through the two points in their graph.

At this point I like to click and drag the points to their starting positions that I want the students to see.
Close this component by clicking on DONE.

Step 2: Note Component (2nd from top)

This will give the students the directions and a random equation in standard form.

Label this note component --> note1b

In Computation Layer (look for this symbol </> in the upper right of the component)



Step 3: Graph Component

This part will give the teacher feedback if the student has the correct graph or not. 

In Computation Layer, type the following:



Step 4: Note Component (The top one)

This part will give the students feed back on if they have the correct graph or not.  If you do not want students to see this, you can skip this step and delete this component.

Go into Computation Layer and type:


Step 5: Sketch Component 

Go into Computation Layer and type:


The reason to do this is so that the teacher can get feedback.  If this isn't done, the instructor will recieve a dot instead of the checkmark or the x.

Step 6: Add a button to make this go on forever and ever.

Again, this step is optional.  This will allow students to generate new systems of equations over and over again and have unlimited practice. 

Add a button component.

Label the button --> button1

Go back into the note component CL for note1b.

in the very first line that has r = randomGenerator()
we're going to change that to...




Comments