Lesson goal: Graphing compound inequalities (y vs. x)

Previous: Graphing inequalities (xy-plane) | Home | Next: Throwing darts to find Pi

After this lesson, hopefully you see how easy it is for a computer to show you the collection of points on a cartesian coorinate system that satisfy an inequality. Typically after these, you move on to compound inequalities, which as you to find the collection of points that satisfy 2 or more inqualities.

This is once again, very straightfoward to do on a computer, with only a small "tweak" to the last lesson.

We again focus on the if statement, only instead of putting in a single inequality, we put in as many as we wish and join them with and or or statements, as discussed in this lesson.

Now you try. Put some inequality to test in the if statement.

Type your code here:


See your results here: