GDR


Joined 2 years ago
Homeworks submitted:
Homework comments:
1
0

About Me

No description provided.

Classes

Structure and Interpretation of Computer Programs

Class status: Established
Role: Student
. 7% complete

Submitted Assignments

Structure and Interpretation of Computer Programs: Lesson 2, HW 1

1.11

(define (f-iter n a b c i)
  (if (= (+ 1 n) i)
      a
      (f-iter n (+ a b b c c c) a b (+ 1 i))
      )
  )

(define (f n) (if (< n 3) 1 (f-iter n 1 1 1 3)))

GDR 2 years ago