Debian Codegraph @

texmf-dist/doc/latex/mathexam/sample.tex

raw
1 \documentclass[fleqn]{article}
2 \usepackage[left=1in, right=1in, top=1in, bottom=1in]{geometry}
3 \usepackage{mathexam}
4 \usepackage{amsmath}
5
6 \ExamClass{Sample Class}
7 \ExamName{Sample Exam}
8 \ExamHead{\today}
9
10 \let\ds\displaystyle
11
12 \begin{document}
13 \ExamInstrBox{
14 Please show \textbf{all} your work! Answers without supporting work will not be given credit. Write answers in spaces provided. You have 1 hour and 50 minutes to complete this exam.}
15 \ExamNameLine
16 \begin{enumerate}
17 \item Calculate the following limits. If a limit is $\infty$ or $-\infty$,
18 please say so. Make sure you show all your work and justify all your
19 answers.
20 \begin{enumerate}
21 \item $\ds{\lim_{x\rightarrow3}\frac{\sqrt{x+1} - 2}{x-3}}$\answer
22 \item $\ds{\lim_{x\rightarrow0}\frac{\sin(4x)}{8x}}$\answer
23 \end{enumerate}
24 \item Use the $\varepsilon$-$\delta$ definition of limit to prove that
25 \[\lim_{x\rightarrow 2} x^2 - 3x + 2 = 0\]\noanswer[2.5in]
26 \newpage
27 \item If $h(x) = \sqrt{x^2 + 2} - 1$, find a \textbf{non-trivial} decomposition of $h$ into $f$ and $g$ such that $h = f\circ g$.
28 \answer*{$f(x)=$}\addanswer*{$g(x)=$}
29 \item Find the first two derivatives of the function $f(x) = x^2\cos(x)$. Simplify
30 your answers as much as possible. Show all your work.
31 \answer*{$f'(x)=$}\answer*{$f''(x)=$}
32 \newpage
33 \item Find the derivative of the function $\ds{f(x) = \int_{x^2}^2
34 \frac{\cos(t)}{t} \,dt}$.\answer[1in plus 1fill]
35 \item Set up, but do not evaluate, the integral for the volume of the solid obtained by rotating the area between the curves $y = x$ and $y = \sqrt{x}$ about the $x$-axis.\noanswer
36 \end{enumerate}
37 \end{document}
38