File:  [LON-CAPA] / loncom / html / adm / help / tex / Function_Plot_Response_Rule_Set.tex
Revision 1.3: download - view: text, annotated - select for diffs
Fri Nov 25 16:26:36 2011 UTC (12 years, 8 months ago) by www
Branches: MAIN
CVS tags: language_hyphenation_merge, language_hyphenation, HEAD
Documentation for Function Plot Response

\label{Function_Plot_Response_Rule_Set}
This is where the rules are defined.  These rules will determine whether or not an entered answer is correct or not.  If there are no rules, any answer will be deemed correct.  If there is more than one rule, when an answer is submitted, the server will analyze them in order until one of them is broken (of course, if it's a correct answer, it will go through all of them and return a green box).  In such an event, any subsequent rules will be ignored.  If conditional hints related to these rules are added, only the first broken rule's hint will be shown, even if all rules are broken.

The figure shows some examples of rules.

\includegraphics[width=0.8\paperwidth]{FPRexamples}

\begin{enumerate}

\item Checks that the derivative at $x=3$ is negative.

\item Checks that the second derivative at $x=$\$time1 is $0$.

\item Checks that the value of the function $>7$ from ``Start of Graph" to $x=5$.

\item Checks that the function is $0$ from $x=0$ until the function is no longer $0$, labeling this new point `notzero'.

\item Checks that the first derivative is positive between the point `notzero' and the end of the graph.

\item Checks to see that the value of the function at $x=4$ is the same as the value of the function at \$time2. The Value here is \&fpr\_f(\$time2).

\item Checks that the value of the function at point `notzero' is equal to the value of the function at $x=$ \$time3.  The Value here is \&fpr\_f(\&fpr\_val(`notzero')).

\end{enumerate}

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