diff options
Diffstat (limited to 'day1/cheatsheet6.tex')
-rwxr-xr-x | day1/cheatsheet6.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/day1/cheatsheet6.tex b/day1/cheatsheet6.tex index 5dacecc..5d3cfdf 100755 --- a/day1/cheatsheet6.tex +++ b/day1/cheatsheet6.tex @@ -24,7 +24,7 @@ showstringspaces=false, \large{FOSSEE} \end{center} \section{Solving linear equations} -Condier following sets of equations:\\ +Consider following sets of equations:\\ \begin{align*} 3x + 2y - z & = 1 \\ 2x - 2y + 4z & = -2 \\ @@ -82,7 +82,7 @@ Out[95]: 1.5707963267948966 In [96]: expression(pi/3) Out[96]: 0.90689968211710881 \end{lstlisting} -\subsection{Roots of non-linear eqations} +\subsection{Roots of non-linear equations} For Finding the roots of a non linear equation(defined as $f(x)=0$), around a starting estimate we use \typ{fsolve}:\\ \typ{In []: from scipy.optimize import fsolve}\\ \typ{fsolve} is not a part of \typ{pylab}, instead is a function in the \textbf{optimize} module of \textbf{scipy}, and hence we \textbf{import} it.\\ |