An equation that represents the relationship between the numbers of hours a student study in their grade on a certain test is y = 12.5x + 27.5.
In Mathematics and Geometry, the point-slope form of a straight line can be calculated by using the following mathematical equation (formula):
Where:
- x and y represent the data points.
- m represent the slope.
First of all, we would determine the slope for the line of best fit by using these points (1, 40) and (5, 90);
Slope (m) = (90 - 40)/(5 - 1)
Slope (m) = 50/4
Slope (m) = 12.5
At data point (1, 40) and a slope of 12.5, a function for this line can be calculated by using the point-slope form as follows:
y - 40 = 12.5(x - 1)
y = 12.5x - 12.5 + 40
y = 12.5x + 27.5