CSC104H1 Lecture Notes - Lecture 3: Ellipse

33 views1 pages
26 Sep 2016
School
Course

Document Summary

; range, and mapping our own functions (require picturing-programs) ; defining a new function that can be mapped onto a list. ; mapping a function onto a list requires a function that accepts one argument. ; let"s define a new function oval" that takes a number and produces an image. ; producing a sequence of numbers using the function range". ; range : number number number list-of-numbers. ; (range start end change) produces the list of numbers from start" up to but not including end", ; counting up by the change" amount. (check-expect (range 12 34 5) (list 12 17 22 27 32)) (check-expect (range 1 7 2) (list 1 3 5)) ; notice it doesn"t include 7. ; creating lots of values by mapping a function onto a range of numbers.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents