diff options
author | Puneeth Chaganti | 2009-10-28 14:45:51 +0530 |
---|---|---|
committer | Puneeth Chaganti | 2009-10-28 14:45:51 +0530 |
commit | 228ba91321554f459098c68f2bdb0b7d29b84f43 (patch) | |
tree | ddc92fe500ae63b5995a75dde6aeacb5a1b0f075 /day1/session6.tex | |
parent | b180f07df49891daa319b4384594caae3f39ddda (diff) | |
download | workshops-228ba91321554f459098c68f2bdb0b7d29b84f43.tar.gz workshops-228ba91321554f459098c68f2bdb0b7d29b84f43.tar.bz2 workshops-228ba91321554f459098c68f2bdb0b7d29b84f43.zip |
Minor edits to sessions 5 and 6.
Diffstat (limited to 'day1/session6.tex')
-rw-r--r-- | day1/session6.tex | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/day1/session6.tex b/day1/session6.tex index c929516..9ee3215 100644 --- a/day1/session6.tex +++ b/day1/session6.tex @@ -198,8 +198,8 @@ In []: pend_sol = odeint(pend_int, \begin{frame}[fragile] \frametitle{Initial Estimates} \begin{itemize} -\item Find the roots of $cosx-x^2$ between $-\pi/2$ and $\pi/2$ -\item We shall use a crude method to get an initial estimate first +\item Find roots of $cosx-x^2$ in $(-\pi/2, \pi/2)$ +\item How to get a rough initial estimate? \end{itemize} \begin{enumerate} \item Check for change of signs of $f(x)$ in the given interval @@ -350,15 +350,28 @@ In []: pend_sol = odeint(pend_int, \begin{frame}[fragile] \frametitle{Scipy Methods \dots} -\small{ +\begin{small} \begin{lstlisting} In []: from scipy.optimize import fixed_point In []: from scipy.optimize import bisect In []: from scipy.optimize import newton -\end{lstlisting}} +\end{lstlisting} +\end{small} \end{frame} +\begin{frame} + \frametitle{Things we have learned} + \begin{itemize} + \item Solving ODEs + \item Finding Roots + \begin{itemize} + \item Estimating Interval + \item Newton Raphson + \item Scipy methods + \end{itemize} + \end{itemize} +\end{frame} \end{document} |