day1/session6.tex
changeset 385 c70118cdde66
parent 382 41c34770d63a
child 387 5e485a5d8ac4
equal deleted inserted replaced
384:9f9fddf7e37c 385:c70118cdde66
    76 \title[Solving Equations \& ODEs]{Python for Science and Engg:\\Solving Equations \& ODEs}
    76 \title[Solving Equations \& ODEs]{Python for Science and Engg:\\Solving Equations \& ODEs}
    77 
    77 
    78 \author[FOSSEE] {FOSSEE}
    78 \author[FOSSEE] {FOSSEE}
    79 
    79 
    80 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
    80 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
    81 \date[] {02 April, 2010\\Day 1, Session 6}
    81 \date[] {22 April, 2010\\Day 1, Session 6}
    82 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    82 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    83 
    83 
    84 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
    84 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
    85 %\logo{\pgfuseimage{iitmlogo}}
    85 %\logo{\pgfuseimage{iitmlogo}}
    86 
    86 
   161 \end{lstlisting}
   161 \end{lstlisting}
   162 \end{frame}
   162 \end{frame}
   163 
   163 
   164 \begin{frame}[fragile]
   164 \begin{frame}[fragile]
   165 \frametitle{Let's check!}
   165 \frametitle{Let's check!}
       
   166 \begin{small}
   166 \begin{lstlisting}
   167 \begin{lstlisting}
   167 In []: Ax = dot(A, x)
   168 In []: Ax = dot(A, x)
   168 In []: Ax
   169 In []: Ax
   169 Out[]: array([  1.00000000e+00,  -2.00000000e+00,  -1.11022302e-16])
   170 Out[]: array([  1.00000000e+00,  -2.00000000e+00,  -1.11022302e-16])
   170 \end{lstlisting}
   171 \end{lstlisting}
       
   172 \end{small}
   171 \begin{block}{}
   173 \begin{block}{}
   172 The last term in the matrix is actually \alert{0}!\\
   174 The last term in the matrix is actually \alert{0}!\\
   173 We can use \kwrd{allclose()} to check.
   175 We can use \kwrd{allclose()} to check.
   174 \end{block}
   176 \end{block}
   175 \begin{lstlisting}
   177 \begin{lstlisting}