I've tried a previous latex forum but wasn't able to fix my problem.
I'm not sure at all what I'm doing wrong but i get an error Missing $ inserted. $ on the 2nd line with c)\
The text works fine seperately but when put with the rest of the document i keep on getting errors.
The rest of the text works fine and there are no $ signs that are not already paired in previous parts
Code: Select all
\noindent
c)\\
coordinates = (99,85),(190,220),(286,383)\\
\begin{align}
error&= \left | y-(a+bx) \right |\\
E&= \left | y-(475.5+1.253x) \right |\\
(99,85):
E&=\left | 85-(475.5-1.253(99) \right |\\
&=\left | 85-(351.5) \right |\\
&=266.5\\
(190,220):
E&=\left | 220-(475.5-1.253(190) \right |\\
&=\left | 220-(237.5) \right |\\
&=17.5\\
(286,383):
E&=\left | 383-(475.5-1.253(286) \right |\\
&=\left | 386-(117.2) \right |\\
&=265.8\\
\end{align}
$\therefore$ \text{Next location is "The Reservoir" at (190,220)}
\end{document}
Is anyone able to help with this?
Error is at end.