File:  [LON-CAPA] / loncom / html / adm / help / tex / Tolerance.tex
Revision 1.1: download - view: text, annotated - select for diffs
Fri Jul 5 16:12:31 2002 UTC (22 years ago) by bowersj2
Branches: MAIN
CVS tags: HEAD
This commit implements the .tex-based online help system in LON-CAPA. It
may be necessary to manually run loncom/build/help_graphics_converter.pl
and doc/help/rebuildLabelHash.pl after a cvs update, and
loncapa_apache.conf may need to be manually copied to /etc. (The
loncapafiles.lpml has been updated.)

After merging this, the URL http://[loncapahost]/adm/help/Foils.hlp
should display a help file.

Also, some *very* out-of-date files have been removed from the /doc
directory.

A \textbf{tolerance\index{tolerance}} parameter determines how closely
the system will require the student's answer to be in order to count it correct.


For technical reasons, it is almost never a good idea to set this parameter
to zero. Computers can only approximate computations involving real numbers. For instance,
a computer's {[}decimal{]} answer to the simple problem $\frac{1}{3}$ is
{}``0.33333333333333331''. It \emph{should} be an infinite series of 3's,
and there certainly shouldn't be a {}``1'' in the answer, but no computer
can represent an infinitely long, infinitely detailed real number. Therefore,
for any problem where the answer is not a small integer, you \emph{need}
to allow a tolerance factor, or the students will find it nearly impossible
to exactly match the computers idea of the answer. You may find the
default too large for some problems. 

There are
two kinds of tolerance. For some answer $a$ and a tolerance $t$,

\begin{enumerate}
\item an \textbf{Absolute} tolerance\index{absolute tolerance}\index{tolerance, absolute}
will take anything in the range $a\pm t$. So if $a=10$ and $t=2$, then
anything between 8 and 12 is acceptable.
 Any number in the tolerance field \emph{without} a \textbf{\%} symbol is
an absolute tolerance.
\item a \textbf{Relative} tolerance\index{relative tolerance}\index{tolerance, relative}
will take anything in the range $a\pm at$, where \emph{t} is interpreted
as a percentage. Any number in the tolerance field \emph{followed by} a \textbf{\%}
symbol is a relative tolerance. For example, $a=10$ and $t=10\%$ will accept
anything between 9 and 11. 
\end{enumerate}

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