The general equation of a straight line is written as y = mx + c
Where m is the slope of the line.
In Straight lines, the slope of a line represents the steepness of the line. It can also be understood as the rate of change in y with respect to x.
For a straight line, the slope will remain constant.
For example, if we want to calculate the slope of the line 2x + 3y = 5
We simplify the equation as 3y = 5 - 2x
So, y=(53)−(23)x
Here, the coefficient of x is (−23), which is the slope.