summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/probsoln/samples/prob-newdata.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/probsoln/samples/prob-newdata.tex')
-rw-r--r--Master/texmf-dist/doc/latex/probsoln/samples/prob-newdata.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/probsoln/samples/prob-newdata.tex b/Master/texmf-dist/doc/latex/probsoln/samples/prob-newdata.tex
new file mode 100644
index 00000000000..946f0e11248
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/probsoln/samples/prob-newdata.tex
@@ -0,0 +1,27 @@
+ % This file is public domain
+\begin{defproblem}{sample}
+\begin{onlyproblem}
+Differentiate $y=\sin x$
+\end{onlyproblem}
+\begin{onlysolution}
+$y'=\cos x$
+\end{onlysolution}
+\end{defproblem}
+
+\begin{defproblem}[1]{sample2}
+\begin{onlyproblem}
+Differentiate $y = \sin(#1x)$
+\end{onlyproblem}
+\begin{onlysolution}
+$y'=#1\cos #1x$
+\end{onlysolution}
+\end{defproblem}
+
+\begin{defproblem}{sample3}
+\begin{onlyproblem}
+Differentiate $y = x^2$.
+\end{onlyproblem}
+\begin{onlysolution}
+$y' = 2x$
+\end{onlysolution}
+\end{defproblem}