QUESTION IMAGE
Question
this data is represented by a scatter plot with the function c(x)=21.42x - 15.08 fit to the data, where c represents the total cost of the order and x represents the number of meals ordered. for questions 1 through 5, complete the tables to find the residual values for each number of meals ordered. 1. number of meals ordered actual cost predicted cost residual values 1 $12 1 $9 2. number of meals ordered actual cost predicted cost residual values 2 $21 2 $25 2 $28
Step1: Recall residual formula
Residual = Actual - Predicted. The cost - prediction function is $c(x)=21.42x - 15.08$.
Step2: Calculate predicted cost for $x = 1$
Substitute $x = 1$ into $c(x)$: $c(1)=21.42\times1-15.08=6.34$.
For the first row where actual cost is $\$12$, residual is $12 - 6.34 = 5.66$. For the second row where actual cost is $\$9$, residual is $9 - 6.34 = 2.66$.
Step3: Calculate predicted cost for $x = 2$
Substitute $x = 2$ into $c(x)$: $c(2)=21.42\times2-15.08=42.84 - 15.08 = 27.76$.
For the first row where actual cost is $\$21$, residual is $21 - 27.76=- 6.76$. For the second row where actual cost is $\$25$, residual is $25 - 27.76=-2.76$. For the third row where actual cost is $\$28$, residual is $28 - 27.76 = 0.24$.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
| Number of Meals ordered | Actual Cost | Predicted Cost | Residual Values |
|---|---|---|---|
| 1 | $\$9$ | $\$6.34$ | $\$2.66$ |
| 2 | $\$21$ | $\$27.76$ | $-\$6.76$ |
| 2 | $\$25$ | $\$27.76$ | $-\$2.76$ |
| 2 | $\$28$ | $\$27.76$ | $\$0.24$ |