\documentclass[12pt]{article}
\usepackage{latexsym}
\usepackage{graphicx}
\topmargin -.5in \textwidth 6.4in \textheight 8.5in \oddsidemargin
-0.12in
\begin{document}
%\noindent {\bf Calculus I}\hspace{2.85in}  Name:\underline{\hspace*{2.6in}}\\
%\noindent {\bf TA/classroom:\underline{\hspace*{1.36in}} }
%\hspace{1.in}
%Student ID:\underline{\hspace*{2.25in}} \\
%\begin{center}
%{\bf \Large Quiz 1}\\
%\small Oct. 3, 2007
%\end{center}

\begin{table}
\begin{center}
\input{./ex1.tex}
\end{center}
\caption{Table 1:example 1}
\end{table}

\begin{figure}[!h]
\begin{center}
\includegraphics[width=.8\textwidth]{./ex1.eps}
\end{center}
\caption{Fig 1:example (single figure)}
\end{figure}

\begin{table}
\begin{tabular}{cc}
\includegraphics[width=.4\textwidth]{./ex1.eps}
&
\includegraphics[width=.4\textwidth]{./ex1.eps}
\end{tabular}
\caption{Fig 2:example (two figures)}
\end{table}

\begin{table}
\begin{center}
\begin{tabular}{cc}
\includegraphics[width=.4\textwidth]{./ex1.eps}
&
\includegraphics[width=.4\textwidth]{./ex1.eps}\\
\includegraphics[width=.4\textwidth]{./ex1.eps}
&
\includegraphics[width=.4\textwidth]{./ex1.eps}
\end{tabular}
\caption{Fig 3:example (2x2 figures)}
\end{center}
\end{table}

\end{document}
