summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/probsoln/samples/prob-mchoice.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/probsoln/samples/prob-mchoice.tex')
-rw-r--r--macros/latex/contrib/probsoln/samples/prob-mchoice.tex37
1 files changed, 37 insertions, 0 deletions
diff --git a/macros/latex/contrib/probsoln/samples/prob-mchoice.tex b/macros/latex/contrib/probsoln/samples/prob-mchoice.tex
new file mode 100644
index 0000000000..22886ce9b2
--- /dev/null
+++ b/macros/latex/contrib/probsoln/samples/prob-mchoice.tex
@@ -0,0 +1,37 @@
+ % This file is public domain
+ %
+ % These problems are for multiple choice questions
+\newproblem{mc:prod}{%
+Which of the following is the derivative of $x\sin(x)$?
+(Circle the correct answer.)
+\ifthenelse{\boolean{showanswers}}{}%
+{\begin{description}
+\item[A] $\sin(x)$
+\item[B] $x\cos(x)$
+\item[C] $\sin(x) + x\cos(x)$
+\end{description}
+}}{%
+\begin{description}
+\item[A] $\sin(x)$
+\item[B] $x\cos(x)$
+\item[\textcircled{C}] $\sin(x) + x\cos(x)$ (product rule).
+\end{description}
+}
+
+\newproblem{mc:quot}{%
+Which of the following is the derivative of $\frac{\sin(x)}{x}$?
+(Circle the correct answer.)
+\ifthenelse{\boolean{showanswers}}{}%
+{\begin{description}
+\item[A] $\sin(x)$
+\item[B] $\cos(x)$
+\item[C] $\frac{\cos(x)x-\sin(x)}{x^2}$
+\end{description}
+}}{%
+\begin{description}
+\item[A] $\sin(x)$
+\item[B] $\cos(x)$
+\item[\textcircled{C}] $\frac{\cos(x)x-\sin(x)}{x^2}$
+(quotient rule)
+\end{description}
+}