Annotation of loncom/html/adm/help/tex/Formula_Response_Example.tex, revision 1.3
1.3 ! bowersj2 1: \label{Formula_Response_Example}
1.1 bowersj2 2:
3: A very simple formula response problem:
4:
5: In the \textbf{Script}, place the following:
6:
7: \begin{lyxcode}
8: \$slope~=~\&random(-5.0,5.0,.5);
9:
10: \$yint~~=~\&random(-5.0,5.0,.5);
11:
12: \$answer~=~{}``\$slope{*}x~+~(\$yint)'';
13: \end{lyxcode}
14: \begin{itemize}
15: \item In the \textbf{Text Block}, place the following: {}``For a line with slope
16: \$slope and y-intercept \$yint, what is y equal to?''
17: \item In the \textbf{Answer}, place the following: \$answer
18: \item Set the Tolerance to .000001.
19: \item Set the \textbf{Sample Points} to x@0,1,2,3 .\end{itemize}
20:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>