Randomly Selecting Problems
This example requires mth101.tex and problems-1stprinciples.tex.
\documentclass{article}
\usepackage{amsmath}
\usepackage{probsoln}
\loadrandomproblems{3}{mth101}
\loadrandomproblems{1}{problems-1stprinciples}
\begin{document}
\section{Differentiation Problems}
\begin{enumerate}
\foreachproblem{\item\thisproblem}
\end{enumerate}
\section{Solutions}
\showanswers
\begin{enumerate}
\foreachsolution{\item\thisproblem}
\end{enumerate}
\end{document}
Download randprobsoln.tex or randprobsoln.pdf.
