version 1.2, 2002/07/18 15:52:27
|
version 1.3, 2005/02/18 20:30:52
|
Line 5 is exactly equal to another expression i
|
Line 5 is exactly equal to another expression i
|
Symbolically proving it one way or another is impossible in general. Therefore, |
Symbolically proving it one way or another is impossible in general. Therefore, |
LON-CAPA uses a sampling system. If your answer and the student's answer |
LON-CAPA uses a sampling system. If your answer and the student's answer |
agree at the sampling points within your given tolerance factor, the student's |
agree at the sampling points within your given tolerance factor, the student's |
answer will be accepted, otherwise it will be rejected. |
answer will be accepted. If the student's answer does not agree at the sampling points within your given tolerance factor, it will be rejected. |
|
|
To specify where to sample the formulas for determining whether the student's |
To specify where to sample the formulas for determining whether the student's |
answer is correct, you need to put a sampling specification in the \textbf{Sample |
answer is correct, you need to put a sampling specification in the \textbf{Sample |
Points}\index{Sample Points} field. The sampling specifications takes the |
Points}\index{Sample Points} field. The sampling specifications take the |
following format: |
following format: |
|
|
\begin{enumerate} |
\begin{enumerate} |
\item A comma separated list of the variables you wish to interpret, |
\item A comma-separated list of the variables you wish to interpret, |
\item followed by {}``@'' (not in quotes), |
\item followed by {}``@'' (not in quotes), |
\item followed by any number of the following two things, separated by semi-colons: |
\item followed by any number of the following two things, separated by semi-colons: |
|
|
\begin{enumerate} |
\begin{enumerate} |
\item a comma separated list of as many numbers as there are variables, which specifies |
\item a comma-separated list of as many numbers as there are variables, which specifies |
one sampling point, OR |
one sampling point, OR |
\item a comma separated list of as many numbers as there are variables, followed |
\item a comma-separated list of as many numbers as there are variables, followed |
by a colon, followed by another list of as many numbers as there are variables, |
by a colon, followed by another list of as many numbers as there are variables, |
followed by a \#, followed by an integer. |
followed by a \#, followed by an integer. |
\end{enumerate} |
\end{enumerate} |
Line 29 The first form specifies one point to sa
|
Line 29 The first form specifies one point to sa
|
range for each variable, and the system will take as many random samples |
range for each variable, and the system will take as many random samples |
from that range as the number after the \#. |
from that range as the number after the \#. |
|
|
For $2x^{2}+4$, with one variable {}``x'', one could specify |
For $2x^{2}+4$, with one variable {}``x'', one could specify: |
|
|
\begin{itemize} |
\begin{itemize} |
\item {}``x@2'', which will sample the answers only at 2. (This is generally |
\item {}``x@2'', which will sample the answers only at 2. (This is generally |
Line 38 a bad idea, as the student could get luc
|
Line 38 a bad idea, as the student could get luc
|
\item {}``x@1:5\#4;10'' will takes 4 samples from somewhere between 1 and 5, |
\item {}``x@1:5\#4;10'' will takes 4 samples from somewhere between 1 and 5, |
and also sample at 10. |
and also sample at 10. |
\end{itemize} |
\end{itemize} |
For $2x^{2}+3y^{3}$, which has two variables, one could specify |
For $2x^{2}+3y^{3}$, which has two variables, one could specify: |
|
|
\begin{itemize} |
\begin{itemize} |
\item {}``x,y@4,5:10,12\#4;0,0'', which take four samples from the box determined |
\item {}``x,y@4,5:10,12\#4;0,0'', which take four samples from the box determined |