day1/cheatsheet6.tex
changeset 324 2361df479844
parent 323 4e44d7741c94
parent 321 8bf99f747817
child 328 4075482a9770
equal deleted inserted replaced
323:4e44d7741c94 324:2361df479844
   125 To solve the ODE, we call the \typ{odeint} function with three arguments - the function \typ{f}, initial conditions and the time vector. 
   125 To solve the ODE, we call the \typ{odeint} function with three arguments - the function \typ{f}, initial conditions and the time vector. 
   126 \begin{lstlisting}
   126 \begin{lstlisting}
   127 In []: y = odeint(f, y0, t)
   127 In []: y = odeint(f, y0, t)
   128 \end{lstlisting}
   128 \end{lstlisting}
   129 Note: To solve a system of ODEs, we need to change the function to return the right hand side of all the equations and the system and the pass the required number of initial conditions to the \typ{odeint} function.
   129 Note: To solve a system of ODEs, we need to change the function to return the right hand side of all the equations and the system and the pass the required number of initial conditions to the \typ{odeint} function.
       
   130 \section{Links and References}
       
   131 \begin{itemize}
       
   132 \item Documentation for Numpy and Scipy is available at: \url{http://docs.scipy.org/doc/}
       
   133   \item For "recipes" or worked examples of commonly-done tasks in SciPy explore: \url{http://www.scipy.org/Cookbook/}
       
   134 \end{itemize}
   130 \end{document}
   135 \end{document}