\documentstyle[12pt]{article}
%\documentstyle[12pt,ncs]{article}
\topmargin=-1.25in
\oddsidemargin=0in
%\evensidemargin=0in
\textwidth=6.5in
\textheight=10.5in
\parindent=0in
%\parskip=10pt
\pagestyle{empty}

%\newfont{\cmss}{cmss12.tfm}
\tolerance=3000
%\setcounter{chapter}{1}

\begin{document}

\input 370top

\centerline{{\it Class 5}: {\bf Monday September 14}}

\begin{description}
\item[SUMMARY] Introduction to Algorithms and Pseudocode
\vspace*{-12pt}
\item[CURRENT READING] Burden \& Faires Sections 1.3
\end{description}

{\it\large Machine Precision}\\
There is a number $\eps_m$ such that $1 + \delta = 1$ whenever $\delta < \eps_m$

For {\bf exact arithmetic}, $\eps_m$ is {\bf zero}.\\
However, on a computer (calculator) $\eps_m$ is non-zero. We want to compute
what it is for {\it your} calculator.\\

\underline{\bf Exercise}\\
Write down (in your own words) the meaning of the following terms:\\
{\sc Algorithm} : \\
 
{\sc Pseudocode} : \\
 
Consider the following algorithm to compute $\eps_m$, the machine precision:
\begin{center}
\begin{verbatim}
epsilon = 1;
it = 0;
maxit = 100;
while it < maxit
   epsilon = epsilon/2;
   b = 1 + epsilon;
   if (b == 1) 
      break;
   it = it + 1;
end
\end{verbatim}
\end{center}

\underline{\bf Example}\\
Can we {\it parse} the above code in order to {\it execute} the given algorithm?\\
\medskip

\underline{\bf Exercise}\\
Find the machine precision of your calculator.
\vfill
\underline{\sc  Groupwork}\\
Write an algorithm to compute the average of $N$ numbers
\vfill
\vfill
%\centerline{\bf ANNOUNCEMENTS}
\end{document}
