I have created this activity to graph System of Linear Inequalities. Everything is working, only issue is that my Red Line, the solid or dashed button is not working like the Blue Line. it stays red all the time, while the blue, first is gray before I choose the type of line I want, then, it turn solid blue or dashed blue. I want the same happens to my red line, before selection “gray” then, with the selection, solid red or dashed red.
Here is the link to my activity:
Also, I want to make sure the coding for the Submit button is correct. We are one week from the midterm and I need this desperately. Please HELPPPP!!!..
Thank you so much in advance for your attention.
Mr. Vega-Cid
Math Teacher
Fort Lauderdale High School - FLORIDA
Hi! It looks like you need one more line of code in the graph CL to link up the definition for C_{hoice1}:
number(`C_{hoice1}`): when redline.isSelected(1) 1 when redline.isSelected(2) 2 otherwise 3
Two quick noticings/questions -
I think that the blue line needs to be dashed and the red line needs to be solid, the reverse of what is marked correct currently, but it has been a long time since I’ve worked with systems of inequalities.
Is it intentional that the blue line is initially y = 7x - 2 ? The red line starts out already correct, so I wanted to double check.
I hope that helps! You and your students are going to rock the midterm
Sorry to bother you. One last question: Did you see on the graph code all the warning signs on the side that says: "You’ve defined ‘O_n’ in more than one place. Try deleting some of the definitions of ‘O_n’.
One more: Can I hide from the students the component Here are your results?
I am trying to use the Correctness button and is not working. If this works, I don’t need to show the students if they are correct or no, I will see the results on my dashboard.
To make the warnings go away, scroll down to lines 49-50 in the graph. There were two copies of O_n=1, and you can delete the second one (result shown).
Can you describe what is not working about the correctness? What I am seeing for the dashboard preview right now matches my expectations.
To hide “Here are your results…” from students, you could just delete the note. If you want to keep the note around just in case, you could also go into the script and change the last line of the script to hidden: true
I am trying to split the shading buttons as I did with the lines. One turn on button for the blue line and one for the red line but, I am making some mistake on the graphing coding.
This is the first time using Desmos for me this way.
I imagine that after I changed the coding in the graph to has two different shading buttons, I have to modify the correctness coding as well.
Here you can see the same activity, first one with the split and the second one with just one button.
I like the changes! What about this for checking correctness?
Sorry for changing many things at once - I set the graph to check correctness for the slope & intercept of each line and the individual buttons to check the solid/dashed lines and shading. You could also keep all the correctness checks in one component (more like what was there before), but maybe the checks are easier to understand as a teacher when it’s spread out.
Hello, any thoughts on how to setup the values of m and b for vertical lines? For example, one of the inequalities is x>5, how do I set that up? I figured out how to do it with other lines with a slope but not this one. Thanks in advance!