Exercise 3.3.5: (back)
;; Constants (define GRAVITY 9.8) ;; speed : number -> number ;; g * t (define (speed time) (* GRAVITY time)) ;; height : number -> number ;; 1/2 * v * t (define (height time) (* 0.5 (speed time) time))
Exercise 3.3.5: (back)
;; Constants (define GRAVITY 9.8) ;; speed : number -> number ;; g * t (define (speed time) (* GRAVITY time)) ;; height : number -> number ;; 1/2 * v * t (define (height time) (* 0.5 (speed time) time))