exam3.3.5

539阅读 0评论2011-12-07 maunix
分类:LINUX

  1. ;; mht created on Nov 9, 2011

  2. ;; height : number -> number
  3. ;; to compute the height that a rocket reaches in a given amount of time
  4. (define (height t)
  5.   (* (/ 1 2) (speed t) t))

  6. ;; speed : number -> number
  7. ;; to compute the speed that a rocket reaches in a given time
  8. (define (speed t)
  9.   (* g t))
上一篇:exam3.3.2-3.3.4
下一篇:exam3.3.6