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.1.4) (read-case-sensitive #t) (teachpacks ((lib "draw.ss" "teachpack" "htdp") (lib "arrow.ss" "teachpack" "htdp") (lib "dir.ss" "teachpack" "htdp") (lib "hangman.ss" "teachpack" "htdp"))) (htdp-settings #(#t constructor repeating-decimal #f #t none #f ((lib "draw.ss" "teachpack" "htdp") (lib "arrow.ss" "teachpack" "htdp") (lib "dir.ss" "teachpack" "htdp") (lib "hangman.ss" "teachpack" "htdp")))))
7 1. (define (x-1 y) (* 3 y))
11 (define (x-1 y) (* 3 y))
24 (define (f-1 c) (+ (* 9/5 c) 32))
30 (define (f-1 c) (+ (* 9/5 c) 32))
33 (- (+ (* 9/5 0) 32) (+ (* 9/5 10) 32))
34 (- (+ 0 32) (+ 90/5 32))
44 [else (even? (sub1 n))]))
49 [else (odd? (sub1 n))]))
60 [else (even? (sub1 n))]))
65 [else (odd? (sub1 n))]))
78 [else (even? (sub1 0))])])
90 (local ((define (f x) (g (+ x 1) 22))
91 (define (g x y) (+ x y)))
100 (local ((define (f-1 x) (g (+ x 1) 22))
101 (define (g x y) (+ x y)))
111 [else (local ((define r (* n n)))
112 (cons r (h (- n 1))))]))