\documentclass{exam}[12pt]

\usepackage{amsfonts,amsmath}

\boxedpoints

\addpoints
\pointsinmargin

\begin{document}
\pagestyle{head}

\firstpageheader{\large Calculus I}{\bf\Large Riemann Sums}
{\large Name:\hspace{1in} }
%\extraheadheight{.7in}
%\extrafootheight{-1in} 
%\small{\textit{Work all questions completely.  Show all work.}}

\begin{questions}
\large{
\question\label{1}\textbf{Set up} a Riemann sum 
to estimate the area under the graph of
$f(x) = 5 x^2+2$ between $x=0$ and $x=1$ using 3 
subdivisions and left endpoints.
Draw the graph and the 3 rectangles.
\vspace{1.8in}

\question\label{2} Repeat question \ref{1} using right endpoints.
\vspace{1.8in}

\question Repeat question \ref{1} using midpoints.
\vspace{1.8in}

\question Compute the Riemann sum in question \ref{1}.
\vspace{.7in}
\question Compute the Riemann sum in question \ref{2}.
\vspace{.7in}

\pagebreak

\question\label{3} Use $n=3$ subdivisions and left endpoints to estimate the 
area under the graph of $f(x)= 3x^2 +1$ between $x=0$ and $x=1$.

\vspace{2.3in}

\question Repeat question \ref{3} using right endpoints.
\vspace{2in}


\question \label{4}Use $n=6$ subdivisions and left endpoints to estimate the 
area under the graph of $f(x)= 2x+1$ between $x=0$ and $x=3$.

\vspace{2in}

\question Repeat question \ref{4} using right endpoints.
\vspace{2in}



}


\end{questions}

\end{document}
