Wednesday, July 16, 2014

Arrays, Vectors, and Conditionals--Oh My!


Today's Agenda:
  1. 15 minutes: Overview + Summarize Rules of the Game
  2. 30 minutes: What's the Logic? (PB&J-style)
  3. 45 minutes: Logic Competition (Write It, Do It!)
  4. 30 minutes: What's the Right Order?
    • Have you ever thought about the importance of a comma? Consider its role in the statement, "Let's eat, Grandma!" This simple invitation to join in a meal becomes quite sinister when we remove the comma, becoming "Let's eat Grandma!" Thus, commas prevent cannibalism every day.
    • In mathematics, there are objects like the comma that can change the meaning of the function entirely. Most often, these objects are parentheses–they indicate that whatever is in the middle of the two parentheses should be done before what is on the outside. Consider the following examples:
      • 4 + 5 × 3 = 19
      • (4 + 5) × 3 = 27
    • Here, the parentheses made a large difference into how the math was carried out–and on the answer. In order to make sure that the same answer is always given by a single equation, there is a set of rules called the "Order of Operations." These rules ensure, just like commas, that math is consistent, reliable, and non-criminal.
    • Try it out on your own and solve the Order of Operations Crossword. (If you need help or to check your answers, use the solutions here.)
  5. 45 minutes: As If: The Basics of Conditional Statements
    • Challenge! After you have moved the SPHERE to multiple positions, then try to create a basic shape or write an initial.
  6. 45 minutes: What's In a Vector?
    • Directions are an important part of getting around in our world. When you tell your friends how to get to your house, you don't just tell them how far they have to walk–you also tell them what direction to go. Without direction, your friends could end up in a completely different area of town.
    • Not only is direction important in getting to people's houses–it is also important in the world of math and physics. Vectors are used to describe direction and magnitude in mathematics. They are necessary when describing motion, forces, and movement in the grid.
    • To learn more about vectors, conduct a Vector Voyage.