Annotation of loncom/html/adm/help/tex/Numerical_Response_Advanced_Example.tex, revision 1.1
1.1 ! bowersj2 1:
! 2: %
! 3: \begin{figure}
! 4: \begin{center}\includegraphics[ width=0.80\paperwidth]{numericalResponseSlopeProblem}\end{center}
! 5:
! 6:
! 7: \caption{Slope Problem Parameters\label{Slope Problem Parameters Figure}}
! 8: \end{figure}
! 9: Try filling out your problem with the parameters shown in the ``Slope
! 10: Problem Parameters'' figure.
! 11:
! 12: When creating randomized problems, you want to make sure that the problems
! 13: always have an answer. Consider what might happen if I had chosen the two
! 14: slopes \emph{both} with the expression \texttt{\&random(-1.0,1.0,.2)}. One
! 15: out of ten students would get a problem where both slopes were equal, which
! 16: has either no solution (for unequal y-intercepts) or an infinite number of
! 17: solutions (for equal slopes and y-intercepts). Both of these cause a division-by-zero
! 18: error on the division that computes the answer. There are many ways to avoid
! 19: this, one of the easiest of which is picking one slope negative and one positive.
! 20: This same problem can show up in many other places, too, so be careful.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>