equal
deleted
inserted
replaced
259 Out[]: [2, 3] |
259 Out[]: [2, 3] |
260 \end{lstlisting} |
260 \end{lstlisting} |
261 \end{frame} |
261 \end{frame} |
262 |
262 |
263 \begin{frame}[fragile] |
263 \begin{frame}[fragile] |
264 \frametitle{List operations} |
264 \frametitle{List operations} |
265 \begin{lstlisting} |
265 \begin{lstlisting} |
266 In []: anthrlst = [6,7,8,9] |
266 In []: anthrlst = [6,7,8,9] |
267 In []: lnglst = lst + anthrlst |
267 In []: lnglst = lst + anthrlst |
268 |
268 |
269 In []: lnglst |
269 In []: lnglst |
277 \end{frame} |
277 \end{frame} |
278 |
278 |
279 \section{Simple Pendulum} |
279 \section{Simple Pendulum} |
280 \begin{frame}[fragile] |
280 \begin{frame}[fragile] |
281 \frametitle{Simple Pendulum - L and T} |
281 \frametitle{Simple Pendulum - L and T} |
282 Let us look at a more realistic example of the Simple Pendulum experiment. |
282 Let us look at the example of the Simple Pendulum experiment. |
283 \begin{center} |
283 \begin{center} |
284 \begin{small} |
284 \begin{small} |
285 \begin{tabular}{| c | c | c |} |
285 \begin{tabular}{| c | c | c |} |
286 \hline |
286 \hline |
287 L & T & $T^2$ \\ \hline |
287 $L$ & $T$ & $T^2$ \\ \hline |
288 0.1 & 0.6900 & \\ \hline |
288 0.1 & 0.6900 & \\ \hline |
289 0.2 & 0.8989 & \\ \hline |
289 0.2 & 0.8989 & \\ \hline |
290 0.3 & 1.1867 & \\ \hline |
290 0.3 & 1.1867 & \\ \hline |
291 0.4 & 1.2991 & \\ \hline |
291 0.4 & 1.2991 & \\ \hline |
292 0.5 & 1.4656 & \\ \hline |
292 0.5 & 1.4656 & \\ \hline |
364 \frametitle{What about larger data sets??} |
364 \frametitle{What about larger data sets??} |
365 \alert{Data is usually present in a file!} \\ |
365 \alert{Data is usually present in a file!} \\ |
366 Lets look at the pendulum.txt file. |
366 Lets look at the pendulum.txt file. |
367 \begin{lstlisting} |
367 \begin{lstlisting} |
368 $cat data/pendulum.txt |
368 $cat data/pendulum.txt |
369 \end{lstlisting} |
|
370 %%$ |
|
371 \begin{lstlisting} |
|
372 1.0000e-01 6.9004e-01 |
369 1.0000e-01 6.9004e-01 |
373 1.1000e-01 6.9497e-01 |
370 1.1000e-01 6.9497e-01 |
374 1.2000e-01 7.4252e-01 |
371 1.2000e-01 7.4252e-01 |
375 1.3000e-01 7.5360e-01 |
372 1.3000e-01 7.5360e-01 |
376 1.4000e-01 8.3568e-01 |
373 1.4000e-01 8.3568e-01 |