\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 10}: {\bf Friday September 25}}

\begin{description}
\item[SUMMARY] Implementing Algorithms using \matlab
\vspace*{-12pt}
\item[CURRENT READING] Recktenwald, Chapter 3 
\end{description}

{\large\bf Programming in \matlab}\\
\matlab has two different type of programs: scripts and functions. 

{\bf Scripts}\\
Scripts are just files which contain sequences of interactive \matlab commands.
Scripts do not have input or output parameters. Variables used in scripts affect the variables in the \Matlab variable space.\\

{\bf Functions}\\
Functions are \Matlab subprograms similar to subroutines found in programming languages {\tt C} or {\tt Fortran}. Functions can use both global variables and local variables. Functions can have multiple inputs and outputs.

{\bf \Matlab Skills}\\
We want to be able to do a number of things using \Matlab by the end of today's class.
\begin{itemize}
\item Understand the key differences between functions and scripts
\item Able to edit and run m-files (functions and scripts)
\item Modify existing m-files to produce desired output
\end{itemize}

{\bf Plotting}\\
The main thing we want to be able to do after today's class is be able to plot a given function in order to view its main features (especially the {\bf roots})
\vfill

\end{document}
