% LaTex2e
\documentclass[12pt]{article}
\usepackage{amssymb,latexsym}


\oddsidemargin 5pt \evensidemargin 5pt \marginparwidth 68pt
\marginparsep 10pt \topmargin 10pt \headheight 10pt
\headsep 15pt \footskip 35pt
\textheight = 625pt  \textwidth 440pt \columnsep 10pt \columnseprule 5pt

\pagestyle{myheadings}
\def\la{\langle}  \def\ra{\rangle}
\def\header{{\hfill Exam 3 \hfill A. Miller \hfill Spring 2001
                                       \hfill Math 217\hfill}}
\markboth\header\header
\newcount\probno
\newcount\total
\newwrite\examTBLFile


\probno=0
\def\prob#1{\advance\probno by 1  \vfill\newpage
%\def\prob#1{\advance\probno by 1 \par
    \noindent\the\probno . (#1 pts)\advance\total by #1
    \immediate\write\examTBLFile{\the\probno
       \string& #1 \string&
       \string\qquad \string\\ \string\hline}}

\def\probx#1{\advance\probno by 1  \vfill  % \par
    \noindent\the\probno . (#1 pts)\advance\total by #1
    \immediate\write\examTBLFile{\the\probno
       \string& #1 \string&
       \string\qquad \string\\ \string\hline}}

\def\finishtbl{
    \immediate\write\examTBLFile{Total \string& \the\total
    \string& \qquad \string\\ \string\hline}
     }

\newwrite\ans
\immediate\openout\ans=answers
\outer\def\answer{ {\par Circle your answer.} \par\medbreak
  \immediate\write\ans{}
  \immediate\write\ans{\string\bigskip \the\probno . }
  \copytoblankline}
\outer\def\answerx{ \par\medbreak
  \immediate\write\ans{}
  \immediate\write\ans{\string\bigskip \the\probno . }
  \copytoblankline}
\outer\def\putanswer{\par\medbreak
  \immediate\write\ans{}
  \copytoblankline}
\def\copytoblankline{\begingroup\setupcopy\copyans}
\def\setupcopy{\def\do##1{\catcode`##1=12}\dospecials
     \catcode`\|=12\obeylines}
{\obeylines \gdef\copyans#1
  {\def\next{#1}%
  \ifx\next\empty\let\next=\endgroup%
  \else\immediate\write\ans{\next}\let\next=\copyans\fi\next}}
\def\printanswers{\newpage\begin{center} Answers \end{center}
    \immediate\closeout\ans\input answers}

\begin{document}

\bigskip

Show all work. {\bf Circle your answer.}

No books, no notes, no calculator, no cell phones, no pagers, no
electronic devices at all.

Solutions will be posted shortly after the exam:
www.math.wisc.edu/$\sim$miller/m217

\par\vskip .25in
\begin{center}
Name\makebox[3in]{\hrulefill} \\
\end{center}

\begin{center}
{\bf Hand in to your TA -- Circle your DIScussion section (column one):} \\
\end{center}
\begin{center}
\begin{tabular}{l|l|l|l}
DIS 321 & 7:45   TR  & 901  Van Vleck & Forray, Susan Jane     \\
DIS 322 & 8:50   TR  & 6224 Soc Sci   & Bisgard, James William \\
DIS 324 & 9:55   TR  & 123  Ingraham  & Bisgard, James William \\
DIS 326 & 11:00  TR  & B235 Van Vleck & Leete, Jennifer A.     \\
DIS 327 & 11:00  TR  & 113  Ingraham  & Lu, Tianshi            \\
DIS 328 & 12:05p TR  & B235 Van Vleck & Leete, Jennifer A.     \\
DIS 329 & 12:05p TR  & 6228 Soc Sci   & Lu, Tianshi            \\
DIS 330 & 1:20p  TR  & B321 Van Vleck & Forray, Susan Jane     \\
DIS 332 & 2:25p  TR  & B135 Van Vleck & Hur, Youngmi           \\
DIS 334 & 3:30p  TR  & B329 Van Vleck & Hur, Youngmi           \\
\end{tabular}
\end{center}





% end file with \finishtbl
%\bigskip

\begin{center} \Large
 \begin{tabular}{||c|c|c||} \hline\hline
  Problem & Points & Score \\  \hline\hline
  \input{exam.tbl}
  \hline \hline
 \end{tabular}
\end{center}

\immediate\openout\examTBLFile=exam.tbl

\setcounter{page}{0}

\def\deg{\circ}

\prob{10} % 7.2-7
Find the value of
$$\cos(12^\deg)\cos(-18^\deg)\;+\; \sin(18^\deg)\sin(-12^\deg)$$
and simplify it.
\answer $\cos(30^\deg)={\sqrt{3}\over 2}$

\prob{10} % 7.3-25
Find $\sin^2({\theta\over 2})$ given that $\cos(\theta)={{4\over 5}}$.
\answer $1\over 10$

\prob{10} % 7.5-27
Find  all $\theta$ which solve the equation:
$$2\sin(\theta)\cos(\theta)\;+\;2\sin(\theta)\;+\;\cos(\theta)\;+\;1=0$$
\answer \par
\par $\theta=\pi + 2\pi n$ or
\par $\theta=-{\pi\over 6}+2\pi n$ or
\par $\theta=-{5\pi\over 6}+2\pi n$
\par for $n=0,1,-1,2,-2,\ldots$.

\prob{10} % 6.1
Suppose $z=\tan(\theta)\sec(\theta)$.
\par\medskip Find $dz\over d\theta$.
\par\medskip Simplify and express in terms of $\sec(\theta)$ only.
\par\medskip \answer $2\sec^3(\theta)-\sec(\theta)$

\prob{10} % 6.3
Find the value of
$$\int_0^2 {dx\over{1+{x^2\over 4}}}$$
and simplify.
\answer $\pi\over 2$


\prob{10}
Prove Pythagorus's Theorem.  In a right triangle with
hypotenus $c$ and sides $a$ and $b$, we have that

\unitlength=1.50mm
\special{em:linewidth 0.4pt}
\linethickness{0.4pt}
\begin{picture}(73.00,20.00)
\put(16.00,15.00){\makebox(0,0)[cc]{$a^2+b^2=c^2$}}
\put(40.00,10.00){\line(1,0){30.00}}
\put(70.00,10.00){\line(0,1){10.00}}
\put(53.00,17.00){\makebox(0,0)[cc]{$c$}}
\put(73.00,15.00){\makebox(0,0)[cc]{$a$}}
\put(57.00,6.00){\makebox(0,0)[cc]{$b$}}
\put(40.00,10.00){\line(3,1){30.00}}
\put(68.00,10.00){\rule{2.00\unitlength}{2.00\unitlength}}
\end{picture}

\answerx After removing the triangles the remaining areas must be equal.
(I would have shaded the triangles but my computer program wasn't up
to it.)
\par\bigskip\bigskip\bigskip
\unitlength=1.00mm
\special{em:linewidth 0.4pt}
\linethickness{0.4pt}
\begin{picture}(110.00,53.00)
\put(10.00,10.00){\framebox(40.00,40.00)[cc]{$c^2$}}
\put(70.00,10.00){\framebox(40.00,40.00)[cc]{}}
\put(10.00,20.00){\line(1,3){10.00}}
\put(20.00,50.00){\line(3,-1){30.00}}
\put(50.00,40.00){\line(-1,-3){10.00}}
\put(40.00,10.00){\line(-3,1){30.00}}
\put(70.00,40.00){\line(1,0){40.00}}
\put(80.00,50.00){\line(0,-1){40.00}}
\put(70.00,40.00){\line(1,-3){10.00}}
\put(80.00,50.00){\line(3,-1){30.00}}
\put(18.00,35.00){\makebox(0,0)[cc]{$c$}}
\put(7.00,40.00){\makebox(0,0)[cc]{$b$}}
\put(15.00,53.00){\makebox(0,0)[cc]{$a$}}
\put(75.00,45.00){\makebox(0,0)[cc]{$a^2$}}
\put(94.00,25.00){\makebox(0,0)[cc]{$b^2$}}
\put(37.00,53.00){\makebox(0,0)[cc]{$b$}}
\put(7.00,15.00){\makebox(0,0)[cc]{$a$}}
\put(67.00,45.00){\makebox(0,0)[cc]{$a$}}
\put(75.00,53.00){\makebox(0,0)[cc]{$a$}}
\put(95.00,53.00){\makebox(0,0)[cc]{$b$}}
\put(67.00,25.00){\makebox(0,0)[cc]{$b$}}
\put(33.00,41.00){\makebox(0,0)[cc]{$c$}}
\end{picture}



\finishtbl
\printanswers

\end{document}




