Blob


1 ;; The first three lines of this file were inserted by DrScheme. They record metadata
2 ;; about the language level of this file in a form that our tools can easily process.
3 #reader(lib "htdp-intermediate-reader.ss" "lang")((modname 18.2.1) (read-case-sensitive #t) (teachpacks ((lib "draw.ss" "teachpack" "htdp"))) (htdp-settings #(#t constructor repeating-decimal #f #t none #f ((lib "draw.ss" "teachpack" "htdp")))))
4 (define (p1 x y)
5 (+ (* x y)
6 (+ (* 2 x)
7 (+ (* 2 y) 22))))
9 (define (p2 x)
10 (+ (* 55 x) (+ x 11)))
12 (define (p3 x)
13 (+ (p1 x 0)
14 (+ (p1 x 1) (p2 x))))