;; The first three lines of this file were inserted by DrRacket. They record metadata ;; about the language level of this file in a form that our tools can easily process. #reader(lib "htdp-beginner-reader.ss" "lang")((modname lect01c) (read-case-sensitive #t) (teachpacks ((lib "universe.ss" "teachpack" "2htdp"))) (htdp-settings #(#t constructor repeating-decimal #f #t none #f ((lib "universe.ss" "teachpack" "2htdp"))))) (define (root1 a b c) (/ (+ (- b) (sqrt (- (expt b 2) (* 4 a c)))) (* 2 a))) (root1 7 23 16) #| "smoke" "fog" "smog" "motor" "hotel" "motel" (check-expect (blend "Ian" "Barland") "Iland") |#