summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/probsoln/sample.tex
blob: 472bd51276c19522ad17713dc4e5c09bf6862dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
\documentclass[a4paper]{article}

\usepackage{probsoln}
%uncomment the following line to display the answers
\showanswers

% The following will generate a different set of
% problems in subsequent years
\PSNrandseed{\year}

\begin{document}
\title{Sample Problem Sheet}
\author{Nicola Talbot}
\maketitle

\begin{enumerate}
% Differentiation from first principles
\selectrandomly{1stprncp}{1}

\item Differentiate the following functions:
\begin{enumerate}
\selectrandomly{easy}{5}
\end{enumerate}

% Implicit differentiation
\selectrandomly{implicit}{2}

% Multiple choice question
\selectrandomly{mchoice}{1}

% select one essay style question that doesn't come with a solution

\selectrandomly{nosoln}{1}
\end{enumerate}
\end{document}