Referenced from lesson Simple Inequalities
Open the “Sam the Butterfly” starter file and press “Run”. Hi, Sam!
Move Sam around the screen using the arrow keys.
1) What changes as the butterfly moves left and right?
Sam is in a 640 × 480 yard. Sam’s mom wants Sam to stay in sight.
How far to the left and right can Sam go and still remain visible?
Use the new inequality functions to answer the following questions with code:
2) Sam hasn’t gone off the left edge of the screen as long as…
2) Sam hasn’t gone off the right edge of the screen as long as…
4) Use the space below to draw Circles of Evaluation for these two expressions:
These materials were developed partly through support of the National Science Foundation,
(awards 1042210, 1535276, 1648684, and 1738598).
Bootstrap:Algebra by Emmanuel Schanzer, Jen Poole, Ed Campos Jr, Flannery Denny, and Dorai Sitaram
is licensed under a
Creative Commons 4.0 Unported License.
Based on a work at www.BootstrapWorld.org.
Permissions beyond the scope of this license may be available by contacting
schanzer@BootstrapWorld.org.