\documentclass[11pt]{article}
\def\Z{\mathbb{Z}}
\def\Q{\mathbb{Q}}
\usepackage{latexsym,amsmath,amssymb,epsfig}
\setlength{\textwidth}{6.5in}
\setlength{\oddsidemargin}{0in}
\setlength{\textheight}{8.0in}
\begin{document}
\centerline{MATH 133 -- Calculus with Fundamentals 1}
\centerline{Quiz 2 -- September 15, 2017}
\vskip 40pt
\noindent
Your Name: $\underline{\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad}$
\vskip 20pt
\noindent
{\it Directions}
\vskip 10pt
Do all work on this sheet.  There are 30 possible points.
\bigskip
\noindent
\begin{enumerate}
\item[1)]  (15)  In the space below, plot the piece-wise defined function 
$$f(x) = \begin{cases}
            x + 3 &\ {\rm if}\ -1 < x < 1 \\
            x^2 -4x + 2&\ {\rm if}\ 1 \le x < 3.
         \end{cases}
$$
Assume the domain is just the interval $(-1,3)$ indicated.
\vfil\eject
\begin{figure}
\begin{center}
\includegraphics[width=3.0in]{sinusoid.png}
\end{center}
\caption{A sinusoidal function}
\end{figure}
\item[2)] (15) Find a formula for the sinusoidal function plotted in Figure 1 above.
\end{enumerate}
\end{document}
