version 1.7, 2013/07/05 18:30:40
|
version 1.8, 2013/08/27 18:26:52
|
Line 4 A very simple formula response problem:
|
Line 4 A very simple formula response problem:
|
|
|
\begin{itemize}\item In the \textbf{Script}, place the following: |
\begin{itemize}\item In the \textbf{Script}, place the following: |
\end{itemize} |
\end{itemize} |
\begin{lyxcode} |
\begin{verbatim} |
\$slope~=~\&random(-5.0,5.0,.5);\\ |
$slope = &random(-5.0,5.0,.5); |
\$yint~~=~\&random(-5.0,5.0,.5);\\ |
$yint = &random(-5.0,5.0,.5); |
\$answer~=~{}"\$slope{*}x~+~(\$yint)"; |
$answer = "$slope*x + ($yint)"; |
\end{lyxcode} |
\end{verbatim} |
\begin{itemize} |
\begin{itemize} |
\item In the \textbf{Text Block}, place the following: {}``For a line with slope |
\item In the \textbf{Text Block}, place the following: {}``For a line with slope |
\$slope and y-intercept \$yint, what is y equal to?'' |
\$slope and y-intercept \$yint, what is y equal to?'' |