summaryrefslogtreecommitdiff
path: root/day2/session2.tex
diff options
context:
space:
mode:
Diffstat (limited to 'day2/session2.tex')
-rw-r--r--day2/session2.tex9
1 files changed, 6 insertions, 3 deletions
diff --git a/day2/session2.tex b/day2/session2.tex
index 2f3d73a..b1104f7 100644
--- a/day2/session2.tex
+++ b/day2/session2.tex
@@ -351,8 +351,10 @@
>>> interpolate.interp1d?
>>> x = np.arange(0,2*np.pi,np.pi/4)
>>> y = np.sin(x)
->>> fl = interpolate.interp1d(x,y,kind='linear')
->>> fc = interpolate.interp1d(x,y,kind='cubic')
+>>> fl = interpolate.interp1d(
+ x,y,kind='linear')
+>>> fc = interpolate.interp1d(
+ x,y,kind='cubic')
>>> fl(np.pi/3)
>>> fc(np.pi/3)
\end{lstlisting}
@@ -413,7 +415,8 @@
\begin{equation*}
\frac{d^2x}{dt^2}+\mu(x^2-1)\frac{dx}{dt}+x= 0
\end{equation*}
-\inctime{25}
+ Make a plot of $\frac{dx}{dt}$ vs. $x$.
+\inctime{30}
\end{frame}