Graphing linear functions: Assignment 2

Save as: graph2_lastname.scm

Challenge yourself to race against the clock.  The first 5 students to complete the assignment and have correct answers will earn O$$orio$$ Buck$, save the file as soon as you finish and turn it in.  (Hint: I will check the DrScheme file to see the time and date your work was saved. Don’t save a second time after you have created your graph because it will change the time of your file! )

;; Use Coordinate Plane Teach Pack

from website http://teachertech.rice.edu/Participants/knorth/CS/cartplane.htm

;;-------------------> Clue 2 - Graphing lines <-------------

 

;;draw a line

;;;;The line passes through the point (-30,80)

;;The line passes through the point (-30, -90)

;;The line is perpendicular to the line y=7

;;The line has an undefined slope

;;The x-intercept is -30

;; The line is parallel to the y-axis

;;

;;Use these clues to draw a line on the coordinate plane.

;;You will use 1-3 draw LINE commands to make a graph of this continuous line

;;You may plot more points along the line, and draw the line segments