We are given Zak's laps jogged along with the minutes elapsed.
If the equation of a line is:
m = kx + b
Where m is the number of minutes.
k is the slope of the line
x is the Laps
b is the y-intercept (or where the line crosses the y-axis)
In order to get the equation of the relationship between Laps (x) and Minutes (m),
we need to calculate the slope k and intercept b.
The formulas for doing these are given below:
![\begin{gathered} m=(\sum(x_i-X)(y_i-Y))/((x_i-X)^2) \\ \text{where,} \\ x_i=\text{data points of Laps x} \\ X=\text{ Average of the Laps x} \\ y_i=\text{data points of Minutes m} \\ Y=\text{Average of Minutes m} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/w49x3yb58qqmllc6dton8el76pn6riew34.png)
The formula for intercept (b) is;
![b=Y-kX](https://img.qammunity.org/2023/formulas/mathematics/college/mvpbao1tris8me2z0p20iumvtj752w1a7l.png)
where Y and X are the averages of m and x values from the table.
![\begin{gathered} Y=(\sum m)/(n)\text{ (n is the number of data values of Y)} \\ Y=(17+41+65)/(3) \\ \\ Y=41 \\ \\ X=(\sum x)/(n)\text{ (n is the number of data values of X)} \\ X=(1+3+5)/(3) \\ \\ X=3 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/3yp27j1lzdcmqs8meg8giafx2sg94wz6cs.png)
In order to be tidy and quick, a table is used to solve.
This table is shown in the image below:
Therefore, we can now calculate slope (m):
![\begin{gathered} m=(\sum(x_i-X)(y_i-Y))/((x_i-X)^2) \\ \\ m=(\mleft(-24\mright)\mleft(-2\mright)+0\mleft(0\mright)+\mleft(24\mright)\mleft(2\mright))/(4+0+4) \\ m=(96)/(8) \\ \\ m=12 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/xb5dw92qa9cvm1a50jimk1t4gg7hh8sofz.png)
Now that we have slope (k) = 12, we can get the intercept b
![\begin{gathered} b=Y-kX \\ Y=41-12(3) \\ Y=41-36 \\ Y=5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/8kn1hbvi56u5thf2805nn7i4jrh4xkmyt8.png)
Therefore, the equation is:
m = 12x + 5