day1/session6.tex
changeset 319 cef948318842
parent 293 f7d7b5565232
child 330 46533051b9d3
equal deleted inserted replaced
318:e75d3c993ed5 319:cef948318842
   326 \end{frame}
   326 \end{frame}
   327 
   327 
   328 \begin{frame}[fragile]
   328 \begin{frame}[fragile]
   329 \frametitle{Solving ODEs using SciPy \ldots}
   329 \frametitle{Solving ODEs using SciPy \ldots}
   330 \begin{lstlisting}
   330 \begin{lstlisting}
   331 In []: t = arange(0, 12, 0.2)
   331 In []: t = linspace(0, 12, 61)
   332 
   332 
   333 In []: y = odeint(epid, 250, t)
   333 In []: y = odeint(epid, 250, t)
   334 
   334 
   335 In []: plot(t, y)
   335 In []: plot(t, y)
   336 \end{lstlisting}
   336 \end{lstlisting}