Exercise 4.2.2: (back)

1. (define (in-interval-1? x)
       (and (< -3 x) (< x 0)))
       
Answer: the interval (-3,0)
       

2. (define (in-interval-2? x)
       (or (< x 1) (> x 2)))
       
Answer: the range of numbers outside of [0,3]


3. (define (in-interval-3? x)
       (not (and (<= 1 x) (<= x 5))))
       
Answer: the interval is not [1,5]
1. (in-interval-1? -2)
Answer: true

2. (in-interval-2? -2)
Answer: true

3. (in-interval-3? -2) 
Answer: true