question john has a part - time job at an ice skating rink selling hot cocoa. he decided to plot the number…

question john has a part - time job at an ice skating rink selling hot cocoa. he decided to plot the number of hot cocoas he sold relative to the days high temperature and then draw the line of best fit. based on the line of best fit, how many hot cocoas would you predict john to sell if the days high temperature were 30°f? answer attempt 1 out of 2 hot cocoas submit answer
Answer
Explanation:
Step1: Find two points on the line of best - fit
We can use the points $(10,93)$ and $(20,85)$.
Step2: Calculate the slope $m$
The slope formula is $m=\frac{y_2 - y_1}{x_2 - x_1}$. Substituting the points: $m=\frac{85 - 93}{20 - 10}=\frac{-8}{10}=-0.8$.
Step3: Use the point - slope form $y - y_1=m(x - x_1)$
Using the point $(10,93)$ and $m=-0.8$, we have $y - 93=-0.8(x - 10)$.
Step4: Simplify the equation
$y-93=-0.8x + 8$, so $y=-0.8x+101$.
Step5: Substitute $x = 30$
When $x = 30$, $y=-0.8\times30 + 101=-24 + 101 = 77$.
Answer:
77