summaryrefslogtreecommitdiff
path: root/day1
diff options
context:
space:
mode:
Diffstat (limited to 'day1')
-rw-r--r--day1/data/L-Tsq-points.pngbin0 -> 21813 bytes
-rw-r--r--day1/session2.tex11
-rw-r--r--day1/session3.tex8
3 files changed, 15 insertions, 4 deletions
diff --git a/day1/data/L-Tsq-points.png b/day1/data/L-Tsq-points.png
new file mode 100644
index 0000000..3b8f2a3
--- /dev/null
+++ b/day1/data/L-Tsq-points.png
Binary files differ
diff --git a/day1/session2.tex b/day1/session2.tex
index f7b974f..03a4bd3 100644
--- a/day1/session2.tex
+++ b/day1/session2.tex
@@ -282,9 +282,9 @@ Out[]: [1, 2, 3, 4, 5, 6]
Let us look at a more realistic example of the Simple Pendulum experiment.
\begin{center}
\begin{small}
-\begin{tabular}{| l | c | r |}
+\begin{tabular}{| c | c | c |}
\hline
-L & T & T^2 \\ \hline
+L & T & $T^2$ \\ \hline
0.1 & 0.6900 & \\ \hline
0.2 & 0.8989 & \\ \hline
0.3 & 1.1867 & \\ \hline
@@ -296,7 +296,7 @@ L & T & T^2 \\ \hline
0.9 & 1.9440 & \\ \hline
\end{tabular}
\end{small}\\
-\alert{$L$ \alpha $T^2$}
+\alert{$L \alpha T^2$}
\end{center}
\end{frame}
@@ -365,7 +365,10 @@ In []: for num in lst:
\alert{Data is usually present in a file!} \\
Lets look at the pendulum.txt file.
\begin{lstlisting}
-$cat data/pendulum.txt
+$cat data/pendulum.txt
+\end{lstlisting}
+%%$
+\begin{lstlisting}
1.0000e-01 6.9004e-01
1.1000e-01 6.9497e-01
1.2000e-01 7.4252e-01
diff --git a/day1/session3.tex b/day1/session3.tex
index 6274ec8..e5622c3 100644
--- a/day1/session3.tex
+++ b/day1/session3.tex
@@ -473,6 +473,14 @@ In []: TSq = T*T
\frametitle{Least Squares Fit}
\vspace{-0.15in}
\begin{figure}
+\includegraphics[width=4in]{data/L-Tsq-points.png}
+\end{figure}
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{Least Squares Fit}
+\vspace{-0.15in}
+\begin{figure}
\includegraphics[width=4in]{data/least-sq-fit.png}
\end{figure}
\end{frame}