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