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