File:  [LON-CAPA] / loncom / html / adm / help / tex / Formula_Response_Example.tex
Revision 1.6: download - view: text, annotated - select for diffs
Fri Oct 12 13:26:55 2012 UTC (11 years, 9 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC1, HEAD
- Remove lyxcode

\label{Formula_Response_Example}

A very simple formula response problem: 

\begin{itemize}\item In the \textbf{Script}, place the following:
\end{itemize}
\$slope~=~\&random(-5.0,5.0,.5);

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

\$answer~=~{}``\$slope{*}x~+~(\$yint)'';
\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>