Now lets discover more. X1 x2 are the coordinates of x-axis and y1 y2 are the coordinates of y-axis. The formula to calculate slope is given as mfrac y_ 2-y_ 1 x_ 2-x_ 1 Where m is the slope of the line.
Equation of a vertical line.
Just see where the line crosses the Y axis. The slope is m or the coefficient of x in the equation. This useful form of the line equation is sensibly named the slope-intercept form. The slope of the line m is found by.