Referenced from lesson Collision Detection
'' 🖼Show image A retractable flag pole starts out 24 inches tall, and grows taller at a rate of 0.6in/sec. An elastic is anchored 200 inches from the base and attached to the top of the pole, forming a right triangle. Using a top-down or bottom-up strategy, define functions that compute the height of the pole and the area of the triangle after a given number of seconds.
Directions: Define your first function (height
or area
) here.
Contract and Purpose Statement |
Every contract has three parts…
; ____:_______->______
; ____________________________________________________________________________________________
Examples |
Write some examples, then circle and label what changes…
(EXAMPLE (____ __)__________________________)
(EXAMPLE (____ __)__________________________)
Definition |
Write the definition, giving variable names to all your input values…
(define (____ ____)
______________________________)
Directions: Define your second function (height
or area
) here.
Contract and Purpose Statement |
Every contract has three parts…
; ______:_______->______
; ____________________________________________________________________________
Examples |
Write some examples, then circle and label what changes…
(EXAMPLE (______ __)________________)
(EXAMPLE (______ __)________________)
Definition |
Write the definition, giving variable names to all your input values…
(define (______ ____)
____________________)
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.