\input epsf
\nopagenumbers
\magnification=\magstep1

\noindent {\bf Problem statement} Determine how large $n$ has to be in
order to approximate the integral $\int_0^1\cos(x^2)\,dx$, using the
Midpoint Rule, with error at most $10^{-6}$. Then use this value of
$n$ to calculate the integral to this accuracy.

\vfil\eject\end

