equal
deleted
inserted
replaced
54 \newcommand{\typ}[1]{\lstinline{#1}} |
54 \newcommand{\typ}[1]{\lstinline{#1}} |
55 |
55 |
56 \newcommand{\kwrd}[1]{ \texttt{\textbf{\color{blue}{#1}}} } |
56 \newcommand{\kwrd}[1]{ \texttt{\textbf{\color{blue}{#1}}} } |
57 |
57 |
58 % Title page |
58 % Title page |
59 \title{Python for Scientific Computing : Least Square Fit} |
59 \title{Python for Scientific Computing : Solving Equations} |
60 |
60 |
61 \author[FOSSEE] {FOSSEE} |
61 \author[FOSSEE] {FOSSEE} |
62 |
62 |
63 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} |
63 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} |
64 \date{} |
64 \date{} |
71 \end{frame} |
71 \end{frame} |
72 |
72 |
73 \begin{frame} |
73 \begin{frame} |
74 \frametitle{About the Session} |
74 \frametitle{About the Session} |
75 \begin{block}{Goal} |
75 \begin{block}{Goal} |
76 Finding least square fit of given data-set |
76 Using arrays to find solutions and roots or equations. |
77 \end{block} |
77 \end{block} |
78 \begin{block}{Checklist} |
78 \begin{block}{Prerequisite} |
79 \begin{itemize} |
79 Understanding of Arrays. |
80 \item pendulum.txt |
|
81 \end{itemize} |
|
82 \end{block} |
80 \end{block} |
83 \end{frame} |
81 \end{frame} |
84 |
82 |
85 \begin{frame}[fragile] |
83 \begin{frame}[fragile] |
86 \frametitle{Solution of equations} |
84 \frametitle{Solution of equations} |
87 Consider, |
85 Consider, |
88 \begin{align*} |
86 \begin{align*} |
89 3x + 2y - z & = 1 \\ |
87 3x + 2y - z & = 1 \\ |
90 2x - 2y + 4z & = -2 \\ |
88 2x - 2y + 4z & = -2 \\ |
91 -x + \frac{1}{2}y -z & = 0 |
89 -x + \frac{1}{2}y -z & = 0 |
92 \end{align*} |
|
93 Solution: |
|
94 \begin{align*} |
|
95 x & = 1 \\ |
|
96 y & = -2 \\ |
|
97 z & = -2 |
|
98 \end{align*} |
90 \end{align*} |
99 \end{frame} |
91 \end{frame} |
100 |
92 |
101 \begin{frame}[fragile] |
93 \begin{frame}[fragile] |
102 \frametitle{Scipy Methods - \typ{roots}} |
94 \frametitle{Scipy Methods - \typ{roots}} |