File:  [LON-CAPA] / loncom / html / adm / help / tex / Formula_Response_Example.tex
Revision 1.4: download - view: text, annotated - select for diffs
Thu Aug 29 18:26:28 2002 UTC (21 years, 10 months ago) by bowersj2
Branches: MAIN
CVS tags: version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, version_0_99_1, version_0_99_0, version_0_6_2, version_0_6, conference_2003, HEAD
Two minor changes to the docs.

\label{Formula_Response_Example}

A very simple formula response problem: 

In the \textbf{Script}, place the following:

\begin{lyxcode}
\$slope~=~\&random(-5.0,5.0,.5);

\$yint~~=~\&random(-5.0,5.0,.5);

\$answer~=~{}``\$slope{*}x~+~(\$yint)'';
\end{lyxcode}
\begin{itemize}
\item In the \textbf{Text Block}, place the following: {}``For a line with slope
\$slope and y-intercept \$yint, what is y equal to?''
\item In the \textbf{Answer}, place the following: \$answer
\item Set the Tolerance to .000001.
\item Set the \textbf{Sample Points} to x@0;1;2;3 .\end{itemize}


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