File:  [LON-CAPA] / loncom / html / adm / help / tex / Formula_Response_Example.tex
Revision 1.8: download - view: text, annotated - select for diffs
Tue Aug 27 18:26:52 2013 UTC (10 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0, HEAD
- replace lyxcode with verbatim to eliminate error messages seen in online
  help pages rendered using lontexconvert::tth_converted().

    1: \label{Formula_Response_Example}
    2: 
    3: A very simple formula response problem: 
    4: 
    5: \begin{itemize}\item In the \textbf{Script}, place the following:
    6: \end{itemize}
    7: \begin{verbatim}
    8: $slope = &random(-5.0,5.0,.5);
    9: $yint  = &random(-5.0,5.0,.5);
   10: $answer = "$slope*x + ($yint)";
   11: \end{verbatim}
   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.
   17: \item Set the \textbf{Sample Points} to x@0;1;2;3 .\end{itemize}
   18: 

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