Referenced from lesson Sam the Butterfly - Applying Inequalities (Spring, 2021)
Open the “Sam the Butterfly” starter file and press “Run”. (Hi, Sam!)
Move Sam around the screen using the arrow keys.
1 What do you notice about the program?
2 What do you wonder?
3 What do you see when Sam is at (0,0)? Why is that?
4 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:
5 Sam hasn’t gone off the left edge of the screen as long as…
6 Sam hasn’t gone off the right edge of the screen as long as…
7 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 the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.