This is called the gradient.
y=mx + c is the equation for a straight line. x= gradient and c= your y intercept(where the line crosses the y (vertical) axis).
To work out the gradient from to ponts upon a straight line use this simple equation:
y(2) - y(1)/ X(2) - X(1)
Below is a worked example:
Let (X1, Y1) = (-4,5) and (X2,Y2) = (4,17)
So;
(17-5)/(4-(-4))
=
12/8
=
1.5
So your equation y=mx+c = y=1.5x+c
Chat with our AI personalities
The line is vertical on the graph. Its slope is infinite.
The slope is 2.
To find the slope of a line passing through two points, use the formula (y2 - y1) / (x2 - x1). In this case, the two points are (17, 101). Since there is only one given point, it is not possible to find the slope of the line passing through these points.
Points: (0, 3) and (5, 23) Slope: 4 Equation: y = 4x+3
Slope = (y2- y1)/(x2- x1) = (8.3 -12.25)/(0.2 + 8.5) = -3.95/8.7 = -0.45402 (approx).