The slope of a straight line is the rate of change of the dependent variable (the variable plotted on the Y-axis) relative to the change of the independent variable (the variable plotted on the X-axis). A straight line has one slope (constant slope), however the slope of a curve is changing at different points on the curve.
To determine the slope of a straight line, take two points on the line and determine the X and Y coordinates of each of these points. The slope can be determined from the following relationship: