To find the percentage error in Bob's prediction, we can use the following formula for percentage error:
\[ \text{Percentage Error} = \left( \frac{\text{Estimated Value} - \text{Actual Value}}{\text{Estimated Value}} \right) \times 100 \]
In this case, the estimated value is $30 and the actual value spent is $19.75.
-
Calculate the difference between the estimated value and the actual value: \[ 30 - 19.75 = 10.25 \]
-
Use the difference in the percentage error formula: \[ \text{Percentage Error} = \left( \frac{10.25}{30} \right) \times 100 \]
-
Calculate: \[ \frac{10.25}{30} \approx 0.34167 \] \[ 0.34167 \times 100 \approx 34.17 \]
-
Round to the nearest whole number: \[ \text{Percentage Error} \approx 34% \]
Therefore, the percentage error in Bob's prediction is 34%.