Annotation of loncom/html/adm/help/tex/Formula_Response_Example.tex, revision 1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>