summaryrefslogtreecommitdiff
path: root/day1
diff options
context:
space:
mode:
Diffstat (limited to 'day1')
-rw-r--r--day1/session3.tex2
-rw-r--r--day1/session6.tex2
2 files changed, 2 insertions, 2 deletions
diff --git a/day1/session3.tex b/day1/session3.tex
index 7168f72..628c6a6 100644
--- a/day1/session3.tex
+++ b/day1/session3.tex
@@ -174,7 +174,7 @@ We now have two lists L and T
\item Instead, we use arrays
\end{itemize}
\begin{lstlisting}
-In []: array(L)
+In []: L = array(L)
In []: T = array(T)
In []: Tsq = T*T
In []: plot(L, Tsq, 'o')
diff --git a/day1/session6.tex b/day1/session6.tex
index adc24ff..b311938 100644
--- a/day1/session6.tex
+++ b/day1/session6.tex
@@ -197,7 +197,7 @@
\begin{frame}[fragile]
\frametitle{Bisection Method}
\begin{enumerate}
-\item Start with an interval $(a, b)$ within wphich a root exists
+\item Start with an interval $(a, b)$ within which a root exists
\item $f(a)\cdot f(b) < 0$
\item Bisect the interval. $c = \frac{a+b}{2}$
\item Change the interval to $(a, c)$ if $f(a)\cdot f(c) < 0$