version 1.5, 2013/07/08 03:29:27
|
version 1.6, 2013/09/09 20:57:54
|
Line 45 Before testing the tolerance, LON-CAPA c
|
Line 45 Before testing the tolerance, LON-CAPA c
|
as generated in the script block, according to the |
as generated in the script block, according to the |
format attribute in the numericalresponse tag. |
format attribute in the numericalresponse tag. |
|
|
Next, the formatted compuer answer is "graded" relative to the significant |
Next, the formatted comptuer answer is "graded" relative to the significant |
figures parameter, if it is set (see section \ref{Significant_Figures}. |
figures parameter, if it is set (see section \ref{Significant_Figures}. |
If that test was passed, then a numerical comparison of the Computer's |
If that test was passed, then a numerical comparison of the Computer's |
answer is made with the range of values: |
answer is made with the range of values: |
|
|
(\$computerAnswer - \$tolerance) < \$formattedcomputerAnswer < |
(\$computerAnswer - \$tolerance) $<$ \$formattedcomputerAnswer $<$ |
(\$computerAnswer + \$tolerance) |
(\$computerAnswer + \$tolerance) |
|
|
If the \$formattedcomputerAnswer satisfies the permitted range, then |
If the \$formattedcomputerAnswer satisfies the permitted range, then |