diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
commit | 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch) | |
tree | 90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/probsoln/sample.tex | |
parent | 950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff) |
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/probsoln/sample.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/probsoln/sample.tex | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/probsoln/sample.tex b/Master/texmf-dist/doc/latex/probsoln/sample.tex new file mode 100644 index 00000000000..d797127c944 --- /dev/null +++ b/Master/texmf-dist/doc/latex/probsoln/sample.tex @@ -0,0 +1,40 @@ +\documentclass[a4paper]{article} + +\usepackage{probsoln} +% use the current year as a random seed so that +% it produces a different set of problems each +% year. +%\PSNrandseed{\year} +% or specify a fixed random seed. +\PSNrandseed{2004} + +% Uncomment the following line to generate solution sheet. +\showanswers + +\begin{document} +\ifthenelse{\boolean{showanswers}}{\textbf{Solution Sheet}}{} + +\begin{enumerate} +\item Differentiate the following functions with respect to $x$: + +\begin{enumerate} +\selectrandomly{samples/easy.tex}{6} +\end{enumerate} + +\selectrandomly{samples/implicit.tex}{1} +\selectrandomly{samples/1stprncp.tex}{1} + +% The problems defined in samples/arg.tex all take +% arguments. +\input{samples/args.tex} + +\item Differentiate the following polynomials +\begin{enumerate} +\item \useproblem{diff:quad}{3}{0}{-2} +\item \useproblem{diff:quad}{1}{2}{3} +\item \useproblem{diff:quad}{5}{3}{0} +\end{enumerate} + +\end{enumerate} + +\end{document} |