there is a girl in our class who has a minor in computer science and she is having a hard time too...which made me feel better.
But here's 2 lab questions that i have no idea how to begin (maybe after i read some more)
Write a function slope (x1,y1,x2,y2) that returns the slope of the line through the points (x1,y1) and (x2,y2). Then use this function in a function called intercept (x1,y1,x2,y2) that returns the y-intercept of the line through the points (x1,y1) and (x2,y2).
Write a function that calls the slope function to fin the slope of a line passing through the origin (0,0) and the following set of points in the table. You must use either looping or recursion (i.e. you can't just code the whole thing).
x 1 1 1 1 1 1 1 1 1
y 2 4 6 8 10 12 14 16 18
thanks for any guidance anyone can give!!!