\begin{soln} \begin{center}\begin{tabular}{||c c c c||} \hline x & y & xy & x^2 \\ [0.5ex] \hline\hline -3 & 9 & -27 & 9 \\ \hline -2 & 4 & -8 & 4 \\ \hline -1 & 1 & -1 & 1 \\ \hline 0 & 0 & 0 & 0 \\ \hline 1 & 1 & 1 & 1 \\ \hline 2 & 4 & 8 & 3 \\ \hline 3 & 9 & 27 & 9 \\ \hline \textbf{0} & \textbf{28} & \textbf{0} & \textbf{28} \\ [1ex] \hline\end{tabular}\end{center} \[m = \frac{n \sum xy - \sum x \sum y}{n \sum x^2 - (\sum x)^2}\] \[m = \frac{7(28) - 0 \times 28}{7(28) - (0)^2}\] \[m = 0\] \[b = \frac{\sum y - m \sum x}{n}\] \[b = \frac{28 - 0 \times 0}{7}\] \[b = 4\] The slope is 0 and the intercept is 4.\end{soln} Missing $ inserted. Extra }, or forgotten $. Missing } inserted.
\begin{soln}
\begin{center}
\begin{tabular}{||c c c c||}
\hline
x & y & xy & x^2 \\ [0.5ex]
\hline\hline
-3 & 9 & -27 & 9 \\
\hline
-2 & 4 & -8 & 4 \\
\hline
-1 & 1 & -1 & 1 \\
\hline
0 & 0 & 0 & 0 \\
\hline
1 & 1 & 1 & 1 \\
\hline
2 & 4 & 8 & 3 \\
\hline
3 & 9 & 27 & 9 \\
\hline
\textbf{0} & \textbf{28} & \textbf{0} & \textbf{28} \\ [1ex]
\hline
\end{tabular}
\end{center}
\[
m = \frac{n \sum xy - \sum x \sum y}{n \sum x^2 - (\sum x)^2}
\]
\[
m = \frac{7(28) - 0 \times 28}{7(28) - (0)^2}
\]
\[
m = 0
\]
\[
b = \frac{\sum y - m \sum x}{n}
\]
\[
b = \frac{28 - 0 \times 0}{7}
\]
\[
b = 4
\]
The slope is 0 and the intercept is 4.
\end{soln}
Missing $ inserted. Extra }, or forgotten $. Missing } inserted.
Step by step
Solved in 2 steps