Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

2 emma recently purchased a new car. she decided to keep track of how m…

Question

2 emma recently purchased a new car. she decided to keep track of how many gallons of gas she used on five of her business trips. the results are shown in the table below.

miles drivennumber of gallons used
20010
40019
60029
100051

write the linear regression equation for these data where miles driven is the independent variable. (round all values to the nearest hundredth.)

Explanation:

Step1: Calculate the means

Let \(x\) be miles driven and \(y\) be number of gallons used.
\(n = 5\)
\(\bar{x}=\frac{150 + 200+400+600+1000}{5}=\frac{2350}{5}=470\)
\(\bar{y}=\frac{7 + 10+19+29+51}{5}=\frac{116}{5}=23.2\)

Step2: Calculate the slope \(m\)

$$ LATEXBLOCK0 $$

\(m=\frac{24530}{478000}\approx0.05\)

Step3: Calculate the y - intercept \(b\)

\(b=\bar{y}-m\bar{x}=23.2-0.05\times470=23.2 - 23.5=- 0.3\)

Answer:

\(y = 0.05x-0.3\)