2 explore the challenge of algebra get comfortable with programming work through the entire...

Download 2  Explore the challenge of algebra  Get comfortable with programming  Work through the entire curriculum  Discuss pedagogy  At the end: discuss

If you can't read please download the document

Upload: isabel-oneal

Post on 18-Jan-2018

216 views

Category:

Documents


0 download

DESCRIPTION

 Explore the challenge of algebra  Get comfortable with programming  Work through the entire curriculum  Discuss pedagogy  At the end: discuss integration 3

TRANSCRIPT

2 Explore the challenge of algebra Get comfortable with programming Work through the entire curriculum Discuss pedagogy At the end: discuss integration 3 Theory Overview Practice Pedagogy 4 5 A train leaves Chicago at 6pm, traveling East at 70mph xF(x) f(x) = x+2 object 6 = x +2 6 = +2 = 4+2 process process 7 f(x) = x 10 (1/x)*x = 1 x = 10 x = x+2 x = 10 x = x+2 foo = 0 function f(x){ return foo++ } foo = 0 function f(x){ return foo++ } 11 Theory Overview Practice Pedagogy 12 >70% below the poverty line >70% self-report as African-American or Latino Grades 6-7: First Exposure to Algebra Grades 8-10: Algebra Enrichment Grades 11-12: Algebra Remediation 13 Software: In the cloud, or on your machine. Lesson Plans: Detailed[*] curricula, student handouts, integrated workbooks, and supplemental activities. Standards: All lessons are aligned to Common Core Standards for Mathematics. Language: Algebraic semantics, simple syntax, rich media and integrated testing 14 Brainstorming, and Circles of Evaluation Datatypes, Domain &Range * / = f(9, g(2, 3)) 15 Brainstorming, and Circles of Evaluation Datatypes, Domain &Range Defining Functions Animating your Game height : Number -> Number height(1)7 * 1 height(2)7 * 2 height(3)7 * 3 height(t) = 7 * t 16 17 Brainstorming, and Circles of Evaluation Datatypes, Domain &Range Defining Functions Animating your Game Booleans and Inequalities Piecewise Functions 0 < f(x) < 640 Brainstorming, and Circles of Evaluation Datatypes, Domain &Range Defining Functions Animating your Game Booleans and Inequalities Piecewise Functions Pythagorean Theorem Game Release Party! 18 Introduction Theory Practice Pedagogy 19 Physical Materials (workbooks, pens, etc) One computer for each pair of students Gmail Account (per-class? per-pair?) Log into(IE9+, FF, Chrome)www.WeScheme.org Go to20 Dogx-coordinate 22 positionmoves to the left In Space Astronaut Squirrel Candy Alien Shark! 23 In Start a New Program About the Editor Let there be Numbers! 24 / (- ) (- 10 ) (- 10 8) (/ 6 ) (/ 6 ( ) ) (/ 6 (- 10 8) ) 25 + 12 * * (- ) + 12 * 37 (- 3 (+ 1 2) ) (- 3 (+ 1 (* 5 6) ) ) (+ 1 2)(* 3 7) (3 * 7) (1 + 2) 27 : ; MrCoffee: Beans Water Coffee ; + : Number Number Number ; - :Number Number Number ; sqrt :Number Number ; sqr:Number Number Can you fill out the contracts for +, -, *, and / ? 28 One of these things is not like the other hello 4.9 A String is anything with quotes around it: hello!, Houston and 42 are all strings. How would you convert this to code? 50 solid red star (star 50 solid red) 29 ; circle :Number String String Image ; ellipse:Number Number String String Image ; triangle: Number String String Image ; rectangle: Number Number String String Image ; text:String Number String Image ; rotate :Number Image Image ; scale:Number Image Image and dozens more! 30 Open the Game Template link from the teachers-only page, and Run What do you think the code on line 5 does? Line 6? What will happen if I evaluate TITLE in the Interactions window? How could we change the title of our game? Click Save, and name your file What other definitions do you see? Playing with SCREENSHOT Make your images!!! 32 (triangle solid green) I just loooove green triangles. Write a function gt, which takes in a number and gives back a solid, green triangle of the given size. radius size gtNumber Image gt (triangle 10 solid green) 10 gt (triangle 11 solid green) 11 gt size 33 (circle solid blue) Confession: I lied. I actually prefer blue circles! Write a function bc, which takes in a number and gives back a solid, blue circle of the given radius. radius bcNumber Image bc (circle 16 solid blue) 16 bc (circle 99 solid blue) 99 bc radius 34 rocket-height Number Given the number of seconds, how high is a rocket, traveling at 7m/s? rocket-height (* 7 15) (* 7 289)rocket-height radius seconds Can you make the rocket fly faster? Slower? Can you make it fly backwards? Can you make it fly faster over time? Connecting to word problems. A university has ten times as many students as professors. Write a function p(s), which describes the number of professors as a function of the number of students. 37 Go back to your saved videogame file Complete update-target and update-danger 39 A game of True or False Evaluate the following 3 pieces of code: (+ 1 4) (* 7 5) (< 3 4) Try using other Boolean functions Theres also string=? Introducing Sam the Butterfly Complete page 19 41 Lets have a volunteer safe-left?Number Boolean safe-left? (> ) -100 (> ) 320 safe-left? x x x x x x x x Given an x-coordinate, check if it is greater than Complete safe-right? and change onscreen? so it uses safe-right? instead How can onscreen? use both functions? Copy the safe-left?, safe-right? and onscreen code into the game template! 43 What does (cost cheese) evaluate to? What will happen for (cost onion)? What is this function doing? Add mushroom to the menu, for $11.99 Change the code to add your favorite topping! Change the code to charge customers $ for anything not on the menu cost String Number cost pepperoni cost cheese cost chicken11.25 cost broccoli10.25 costtopping 46 (string=? topping pepperoni) (string=? topping cheese) (string=? topping chicken) (string=? topping broccoli) cond price topping update-player Number String Number update-player 320 up update-player 100 up ( ) ( ) update-player 320 down( ) update-player 100 down( ) update-playery key 47 (string=? key up) (string=? key down) else cond (+ y 20) (- y 20) y operation y y y y key Share your programs! Use the tilt teachpack to support phones/tablets Add data structures to support 2d motion and graphing Building on what you knowall the way to collegeall the way to college 49 Transferable Skills Circles of Evaluation Design Recipe Rocket-Height Target/Danger Motion Sam the Butterfly Luigis Pizza Player Motion Collision Detection 51 Transferable Skills Circles of Evaluation Design Recipe Rocket-Height Target/Danger Motion Sam the Butterfly Luigis Pizza Player Motion Collision Detection 52 Youll need access to a computer lab Youll need Google accounts Join our Google Group for questions and answers Figure out your integration plan 53