Logan D. answered 04/10/15
Tutor
5
(547)
Expert Teacher: Calculus, Differential Equations & Physics for Success
If x is the number of hours and y is the temperature, then we can make two points from the data:
(2, 49) and (6, 39)
We can find the slope of a line with the formula:
(change in y) / (change in x) = (y2 - y1) / (x2 - x1)
⇒ (39 - 49) / (6 - 2) = -10 / 4 = -2.5
The equation of a line is:
y = mx + b, where m = slope and b = y-intercept.
We just solved for m, so now all we need is b. To get b, substitute the values of one of the points into the equation.
y = -2.5x + b
⇒ (49) = -2.5(2) + b, I chose point (2, 49)
⇒ 49 = -5 + b
⇒ 54 = b
Our final equation is:
y = -2.5x + 54