Finding the Slope from a Line

Find the slope of lines in a graph

The problems here are lines, and the task is to find the slope of each line. Some should be obvious, like -1, 1, zero and undefined. For others, points need to be sampled from the line and computed using the difference in y divided by the difference in x.