# HG changeset patch # User Puneeth Chaganti # Date 1256217468 -19800 # Node ID 039a07b0ff5375185f92b3060b5a2d9250fd8bbc # Parent 5365aa8ec9a5d1961f764314509face1ad545099# Parent c313c822297e8891a8333556676f4fbcd6c1e507 Merged branches. diff -r c313c822297e -r 039a07b0ff53 day1/session1.tex --- a/day1/session1.tex Thu Oct 22 16:39:39 2009 +0530 +++ b/day1/session1.tex Thu Oct 22 18:47:48 2009 +0530 @@ -190,10 +190,12 @@ #Sets the title of the figure In []: legend() -# When plot made with label +# Shows a legend in the figure +# Used when plot was made with label # plot(y, -2*sin(-y), label='sin') In []: legend(['sin']) -# When no label, or to change +# When no labels were used +# Or to change the labels \end{lstlisting} \end{frame} diff -r c313c822297e -r 039a07b0ff53 day1/session3.tex --- a/day1/session3.tex Thu Oct 22 16:39:39 2009 +0530 +++ b/day1/session3.tex Thu Oct 22 18:47:48 2009 +0530 @@ -174,7 +174,7 @@ \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 -r c313c822297e -r 039a07b0ff53 day1/session6.tex --- a/day1/session6.tex Thu Oct 22 16:39:39 2009 +0530 +++ b/day1/session6.tex Thu Oct 22 18:47:48 2009 +0530 @@ -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$