day1/session2.tex
changeset 352 b44d7bcc6609
parent 343 adb85e126341
child 358 162e3e453920
child 362 26c215c5a53b
--- a/day1/session2.tex	Sun Jan 10 18:29:20 2010 +0530
+++ b/day1/session2.tex	Sun Jan 10 22:36:09 2010 +0530
@@ -301,6 +301,8 @@
 
 In []: for time in t:
  ....:     tsq.append(time*time)
+ ....:
+ ....:
 
 In []: plot(l, tsq)
 Out[]: [<matplotlib.lines.Line2D object at 0xa5b05ac>]
@@ -512,6 +514,16 @@
 
 \begin{frame}[fragile]
 \frametitle{\incqno }
+What would be the result of the following code snippet:
+\begin{lstlisting}
+In []: x = linspace(0, 10, 50)
+In []: y = linspace(50, 100, 100)
+In []: plot(x, y)
+\end{lstlisting}
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{\incqno }
 The following code snippet has an error/bug:
 \begin{lstlisting}
 In []: l = [0.1, 0.2, 0.3, 0.4]