From 534604c38b300b6b419362c487cbf779e7f76ea8 Mon Sep 17 00:00:00 2001
From: Shantanu Choudhary
Date: Tue, 22 Dec 2009 14:10:37 +0530
Subject: commited changes made for scipy and cheatsheats.

---
 day1/session3.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'day1/session3.tex')

diff --git a/day1/session3.tex b/day1/session3.tex
index 3db46b3..79f7dc9 100644
--- a/day1/session3.tex
+++ b/day1/session3.tex
@@ -79,7 +79,7 @@
 
 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
 
-\date[] {7 November, 2009\\Day 1, Session 3}
+\date[] {14 December, 2009\\Day 1, Session 3}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
-- 
cgit 


From c98b90fe1a9ea076167277b341989daca59da2af Mon Sep 17 00:00:00 2001
From: Puneeth Chaganti
Date: Mon, 4 Jan 2010 19:08:48 +0530
Subject: Changes at scipy.in

---
 day1/session3.tex | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

(limited to 'day1/session3.tex')

diff --git a/day1/session3.tex b/day1/session3.tex
index 79f7dc9..e847a3d 100644
--- a/day1/session3.tex
+++ b/day1/session3.tex
@@ -147,7 +147,7 @@ In []: for line in open('pendulum.txt'):
   ....     point = line.split()
   ....     l = float(point[0])
   ....     t = float(point[1])
-  ....     g = 4 * pi * pi * l / t * t
+  ....     g = 4 * pi * pi * l / (t * t)
   ....     G.append(g)
   \end{lstlisting}
 \end{frame}
@@ -166,8 +166,8 @@ total = 0
 for g in G:
     total += g
 
-g_mean = total / len(g)
-print "Mean: ", g_mean
+g_mean = total / len(G)
+print 'Mean: ', g_mean
   \end{lstlisting}
 \end{frame}
 
@@ -175,7 +175,7 @@ print "Mean: ", g_mean
   \frametitle{Mean ``g''}
   \begin{lstlisting}
 g_mean = sum(G) / len(G)
-print "Mean: ", g_mean
+print 'Mean: ', g_mean
   \end{lstlisting}
 \end{frame}
 
@@ -183,7 +183,7 @@ print "Mean: ", g_mean
   \frametitle{Mean ``g''}
   \begin{lstlisting}
 g_mean = mean(G)
-print "Mean: ", g_mean
+print 'Mean: ', g_mean
   \end{lstlisting}
   \inctime{10}
 \end{frame}
@@ -277,11 +277,11 @@ for record in open('sslc1.txt'):
 \begin{frame}[fragile]
   \frametitle{Dictionaries \ldots}
   \begin{lstlisting}
-In []: d = {"jpg" : "image file",
-      "txt" : "text file", 
-      "py" : "python code"}
+In []: d = {'jpg' : 'image file',
+      'txt' : 'text file', 
+      'py' : 'python code'}
 
-In []: d["txt"]
+In []: d['txt']
 Out[]: 'text file'
   \end{lstlisting}
 \end{frame}
@@ -289,10 +289,10 @@ Out[]: 'text file'
 \begin{frame}[fragile]
   \frametitle{Dictionaries \ldots}
   \begin{lstlisting}
-In []: "py" in d
+In []: 'py' in d
 Out[]: True
 
-In []: "cpp" in d
+In []: 'cpp' in d
 Out[]: False
   \end{lstlisting}
 \end{frame}
@@ -417,11 +417,11 @@ for record in open('sslc1.txt'):
 \begin{frame}[fragile]
   \frametitle{Obtaining statistics}
   \begin{lstlisting}
-print "Mean: ", mean(math_scores)
+print 'Mean: ', mean(math_scores)
 
-print "Median: ", median(math_scores)
+print 'Median: ', median(math_scores)
 
-print "Standard Deviation: ",
+print 'Standard Deviation: ',
               std(math_scores)
   \end{lstlisting}
   \inctime{10}
@@ -432,11 +432,11 @@ print "Standard Deviation: ",
   \begin{lstlisting}
 math_array = array(math_scores)
 
-print "Mean: ", mean(math_array)
+print 'Mean: ', mean(math_array)
 
-print "Median: ", median(math_array)
+print 'Median: ', median(math_array)
 
-print "Standard Deviation: ",
+print 'Standard Deviation: ',
               std(math_array)
   \end{lstlisting}
   \inctime{5}
-- 
cgit 


From 0b19439dc11ce0c1b09f82eec22e773cca815e11 Mon Sep 17 00:00:00 2001
From: Shantanu Choudhary
Date: Mon, 4 Jan 2010 19:54:26 +0530
Subject: Changed dates in all slides.

---
 day1/session3.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'day1/session3.tex')

diff --git a/day1/session3.tex b/day1/session3.tex
index e847a3d..c769fe5 100644
--- a/day1/session3.tex
+++ b/day1/session3.tex
@@ -79,7 +79,7 @@
 
 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
 
-\date[] {14 December, 2009\\Day 1, Session 3}
+\date[] {11 January, 2010\\Day 1, Session 3}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
-- 
cgit 

