
\begin{question}
What is the distance between the two points
$p = (2, 4)$ and $q = (5, 5)$
in a Cartesian coordinate system?

\begin{answerlist}
  \item $1.261$
  \item $2.000$
  \item $2.695$
  \item $0.408$
  \item $3.162$
\end{answerlist}\end{question}

\begin{solution}
The distance $d$ of $p$ and $q$ is given by
$d^2 = (p_1 - q_1)^2 + (p_2 - q_2)^2$ (Pythagorean formula).

Hence $d = \sqrt{(p_1 - q_1)^2 + (p_2 - q_2)^2} =
  \sqrt{(2 - 5)^2 + (4 - 5)^2}
   = 3.162$.

\includegraphics{dist3-003}

\begin{answerlist}
  \item False
  \item False
  \item False
  \item False
  \item True
\end{answerlist}\end{solution}

%% \extype{schoice}
%% \exsolution{00001}
%% \exname{Euclidean distance}
