Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

\documentclass{article}

\usepackage{authblk}
\usepackage{amsmath , amssymb , amsfonts,amsthm}
\usepackage{blindtext}
\usepackage[margin=4mm]{geometry}
\usepackage{fancyhdr}

\lhead{\nouppercase{\leftmark}} % Set chapter in left header.


\rhead{\nouppercase{My University}} % Set my university name in right header.
\setlength{\headheight}{10pt} % ??????????????????

\begin{document}
\section{Analytical Solution of \textbf{Bisection} Method}
\qquad $f(x) = x^2-2$ \qquad \qquad \qquad \qquad intial guess of the
interval : \{{(a,b)|(1,2)}\}
\begin{itemize}
\item $1^{st}$ \textbf{Iteration} : $f(1) = - 1 $ \: and \: $f(2) = 2$ \qquad\
qquad\qquad \: \{{ $\because$ $f(1).f(2) < 0 $ }\}\\

~\hspace{2.2cm} $\displaystyle c=\frac{1+2}{2} = 1.5$ \; , $f(1.5) = 0.25 $

since\; $f(1). f(1.5) < 0 $ \qquad new interval will become $(1,1.5)$ \qquad \
{{$\because$ here b =c }\}\\

\textbf{error } = $|1.5-1| = 0.5$


\\
\item $2^{nd}$ \textbf{Iteration} : $f(1) = - 1 $ \: and \: $f(1.5) = 0.25$ \qquad\
qquad\qquad \: \{{ $\because$ $f(1).f(1.5) < 0 $ }\}\\

~\hspace{2.2cm} $\displaystyle c=\frac{1+1.5}{2} = 1.25$ \; , $f(1.25) = -0.4375 $

since\; $f(1.25). f(1.5) < 0 $ \qquad new interval will become $(1.25,1.5)$ \qquad
\{{$\because$ here a =c }\}
\\

\textbf{error }= $|1.5-1.25| = 0.25$


\item $3^{rd}$ \textbf{Iteration} : $f(1.25) = -0.4375 $ \: and \: $f(1.5) = 0.25$
\qquad\qquad\qquad \: \{{ $\because$ $f(1.25).f(1.5) < 0 $ }\}\\

~\hspace{2.2cm} $\displaystyle c=\frac{1.25+1.5}{2} = 1.375$ \; , $f(1.375) = -


0.109375 $

since\; $f(1.375). f(1.5) < 0 $ \qquad new interval will become $(1.375,1.5)$ \
qquad \{{$\because$ here a=c }\}\\

\textbf{error } = $|1.5-1.375| = 0.125$


\item $4^{th}$ \textbf{Iteration} : $f(1.375) = -0.109375 $ \: and \: $f(1.5) =
0.25$ \qquad\qquad\qquad \: \{{ $\because$ $f(1.375).f(1.5) < 0 $ }\}\\
~\hspace{2.2cm} $\displaystyle c=\frac{1.375+1.5}{2} = 1.4375$ \; , $f(1.4375) =
0.06640625 $

since\; $f(1.375). f(1.4375) < 0 $ \qquad new interval will become


$(1.375,1.4375)$ \qquad \{{$\because$ here b=c }\}\\

\textbf{error } = $|1.4375-1.375| = 0.0625$\\


\item $5^{th}$ \textbf{Iteration} : $f(1.375) =-0.109375 $ \: and \: $f(1.4375) =
0.06640625$ \qquad\qquad\qquad \: \{{ $\because$ $f(1.375).f(1.4375) < 0 $ }\}\\

~\hspace{2.2cm} $\displaystyle c=\frac{1.375+1.4375}{2} = 1.40625$ \; ,


$f( 1.40625) = -0.0224609375 $

since\; $f(1.40625). f(1.4375) < 0 $ \qquad new interval will become


$(1.40625,1.4375)$ \qquad \{{$\because$ here a=c }\}\\

\textbf{error } = $|1.40625-1.4375| = 0.03125$


\end{itemize}
\section{Analytical Solution of \textbf{Newton Raphson } Method}

\end{document}

You might also like