File:  [LON-CAPA] / loncom / html / adm / help / tex / Numerical_Response_Advanced_Example.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.


%
\begin{figure}
\begin{center}\includegraphics[  width=0.80\paperwidth]{numericalResponseSlopeProblem}\end{center}


\caption{Slope Problem Parameters\label{Slope Problem Parameters Figure}}
\end{figure}
 Try filling out your problem with the parameters shown in the ``Slope
 Problem Parameters'' figure. 

When creating randomized problems, you want to make sure that the problems
always have an answer. Consider what might happen if I had chosen the two
slopes \emph{both} with the expression \texttt{\&random(-1.0,1.0,.2)}. One
out of ten students would get a problem where both slopes were equal, which
has either no solution (for unequal y-intercepts) or an infinite number of
solutions (for equal slopes and y-intercepts). Both of these cause a division-by-zero
error on the division that computes the answer. There are many ways to avoid
this, one of the easiest of which is picking one slope negative and one positive.
This same problem can show up in many other places, too, so be careful.

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