Exercise 4.2.3: (back)

4 * n + 2 = 62

;; equation1 : nuumber -> boolean
(define (equation1 n)
  (= (+ (* 4 n) 2) 62))
  
> (equation1 10)
false

> (equation1 12)
false

> (equation1 14)
false

2 * n^2 = 102

;; equation2 : nuumber -> boolean
(define (equation2 n)
  (= (* 2 (* n n)) 102))
  
> (equation2 10)
false

> (equation2 12)
false

> (equation2 14)
false

4 * n^2 + 6 * n + 2 = 462

;; equation3 : nuumber -> boolean
(define (equation3 n)
  (= (+ (* 4 (* n n)) (* 6 n) 2) 462))
  
> (equation3 10)
true

> (equation3 12)
false

> (equation3 14)
false