diff --git a/chapter29.tex b/chapter29.tex index 209ba21..78a3759 100644 --- a/chapter29.tex +++ b/chapter29.tex @@ -196,7 +196,7 @@ between points $(4,2)$ and $(3,-1)$: \begin{lstlisting} P a = {4,2}; P b = {3,-1}; -cout << abs(b-a) << "\n"; // 3.60555 +cout << abs(b-a) << "\n"; // 3.16228 \end{lstlisting} The function \texttt{arg(v)} calculates the @@ -782,4 +782,4 @@ we should find two points whose rotated coordinates maximize the value of \[\max(|x'_1-x'_2|,|y'_1-y'_2|).\] This is easy, because either the horizontal or vertical -difference of the rotated coordinates has to be maximum. \ No newline at end of file +difference of the rotated coordinates has to be maximum.