CODE OF AEGIS Powered by Tietronix Software PART 2 - CHAPTER 2 The World s Mouth Festival In this chapter, students will program a robot to move a specific distance by determining the number of wheel rotations the robot should travel. They will be given the diameter of the robot s wheel. Within the storyline of this chapter, students will learn how to find circumference of a wheel based on its diameter. An animation of this concept is provided. Students will then use the circumference to determine how many wheel rotations a robot should perform to travel a designated distance. They will have two missions that require them to use this knowledge and will be assessed through multiple choice questions as well as by the flowcharts and code that they write. LEARNING OBJECTIVES Students will: Determine the circumference of a wheel. Calculate the number of wheel rotations required to travel a specific distance. Create flowcharts and code to program a robot move the forward, backward, and turn. VOCABULARY Circumference (C): The distance around the outside of a circle. Diameter (d): A segment that connects two points on a circle and travels through the center of the circle. Degree: A unit of measurement of angles, one threehundred-and-sixtieth of the circumference of a circle. Perpendicular: An angle of 90 to a given line, plane, or surface. For example, the two lines that form a + sign are perpendicular. KEY TOPICS Finding Circumference Applications of Circumference Basic Code ESTIMATED TIME TO COMPLETE LESSON Introduction: 15 min Gameplay: 45 min Conclusion: 5 min STANDARDS ALIGNMENT Next Generation Science Standards MS-ETS1-1; MS-ETS1-3; MS-ETS1-4 Common Core State Standards MATH.CONTENT 6.EE.A.2; 6.EE.B.7; 6.EE.C.9; 7.EE.B.3; 7.EE.B.4; 7.G.A.1; 7.G.B.4; 8.NS.A.2 ELA-LITERACY.RST.6-8.3; 6-8.4; 6-8.7 Standards for Technological Literacy Nature of Technology: 2.R; 2.AA; Design: 8.E, 8.G; 9.H; 10.F; 10.H; Abilities for a technological world: 11.K; 11.I; 11.L; 11.O; 12.H; 12.J; 12.L See Standards Alignment document for full detailed list of standards. www.codeofaegis.com PART 2 - CHAPTER 2 PAGE 1
LESSON INTRODUCTION Introduce the lesson by telling students that you will be playing the role of a robot and you want them to give you instructions to perform a simple task. An example task could be to walk to the door and open it. Ask for a volunteer to give you instructions and follow them to perform the task. Ask if anyone can give you a different set of instructions that would also lead you to perform the task correctly. Then follow their instructions. After you have done this two or three times, emphasize that there are often multiple ways of programming a robot to perform a task. Remind students that in their previous gameplay they learned a way to program a robot to move based on distance, rate, and time. Explain that this chapter will teach a second way based on the size of the robot s wheels. Before they start playing this chapter, you may want to review what students know about circles and circumference to help them be successful. CHAPTER QUESTION(S) AND SOLUTION GUIDE 1. The wheels currently on your robot have a diameter of 15 cm. Use that to find the wheels circumference. Make sure the final answer is in meters and always round to the nearest hundredth. a. The circumference is the diameter times pi, so 15 cm times 3.14 is 47.1 cm which is 0.47 m. b. The circumference is the diameter times pi, so 15 cm times 3.14 is 47.1 cm which is 4.71 m. c. The circumference is the radius times pi, so 7.5 cm times 3.14 is 23.55 cm which is 0.24 m. d. The circumference is the pi times the radius squared, so 3.14 times 7.5 squared is 176.63 cm which is 1.77 m. 2. Students are provided a completed flowchart and asked to fill in the parameters on the following code so the robot will travel 5 meters to the flag, scan, and return. www.codeofaegis.com PART 2 - CHAPTER 2 PAGE 2
Solution: Use the circumference of the Regular Terrain wheels found in question one, 0.47 m and the given map to determine the rotations needed in the code. 5 m = 10.64 rotations 0.47 m 3. Students are given the following map and asked to write a flowchart and code to travel to the flag, scan, and return. Flowchart Solution (one example): www.codeofaegis.com PART 2 - CHAPTER 2 PAGE 3
Code Solution (one example): Step 1: find the wheel rotations needed to travel for 5 m and for 4 m. 5 m 4 m = 10.64 rotations, = 8.51 rotations 0.47 m 0.47 m Step 2: write code 4. After the robot slides on some hydra glass in the tunnel, students will need to rebuild the robot with Hydra Glass wheels that have a diameter of 0.18 m and revise the code. Code Solution: Step 1: find the new circumference. C = 3.14 0.18 m C = 0.57 m Step 2: find the wheel rotations needed to travel for 5 m and for 4 m. 5 m 4 m = 8.77 rotations, = 7.02 rotations 0.57 m 0.57 m Step 3: revise code 5. The previous mission is successful and the scan shows a translation relic. Students are instructed to replace the scanner on the robot with a scoop and revise the flowchart and code. www.codeofaegis.com PART 2 - CHAPTER 2 PAGE 4
Flowchart Solution (optional): Code Solution: Note: This solution is based on the Hydra Glass wheels with a diameter of.18 m. These wheels are required for a successful mission. LESSON CONCLUSION Discuss different ways students learned to program a robot to move (time and wheel rotations). Discuss what is information is needed for each method. Go over any questions or comments students had from the gameplay in this chapter. LESSON EXTENSION(S) Give students a homework assignment to program a robot with wheel diameter of 22 cm to move forward 4m, scan, move forward 10 m, scoop, then move backward to the beginning. www.codeofaegis.com PART 2 - CHAPTER 2 PAGE 5