diff options
Diffstat (limited to 'day1/handout.tex')
-rw-r--r-- | day1/handout.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/day1/handout.tex b/day1/handout.tex index a4f1c88..0bf9dc8 100644 --- a/day1/handout.tex +++ b/day1/handout.tex @@ -491,14 +491,14 @@ Try: \texttt{print enumerate(a)} [ 0.0 , 0.5, 1.0 , 1.5, 2.0 , 2.5, 3.0 , 3.5, 4.0 , 4.5, 5.0 ] \end{verbatim} - \item[3.4a] Use the \texttt{linspace} function and generate a list of N tuples of the form\\ + \item[3.4] Use the \texttt{linspace} function and generate a list of N tuples of the form\\ \texttt{[($x_1$,f($x_1$)),($x_2$,f($x_2$)),\ldots,($x_N$,f($x_N$))]}\\for the following functions, \begin{itemize} \item \texttt{f(x) = sin(x)} \item \texttt{f(x) = sin(x) + sin(10*x)}. \end{itemize} -\item[3.4b] Using the tuples generated earlier, determine the intervals where the roots of the functions lie. +\item[3.5] Using the tuples generated earlier, determine the intervals where the roots of the functions lie. \end{description} \section{IO} @@ -510,6 +510,7 @@ for word in s.split(): print word.capitalize() \end{verbatim} +\section{Problem Set 4} \begin{description} \item[4.1] Given a string like, ``1, 3-7, 12, 15, 18-21'', produce the list\\ \texttt{[1,3,4,5,6,7,12,15,18,19,20,21]} |