find slope if it exists
(1,10) and (7,-5)
The slope of a line joining two given points does not exist if the line is vertical, i.e. x1=x2, and y1≠y2.
Otherwise, the slope can be found by calculating the quantity:
m=(y2-y1)/(x2-x1)
(1,10) and (7,-5)
Otherwise, the slope can be found by calculating the quantity:
m=(y2-y1)/(x2-x1)