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


A very simple formula response problem: 

In the \textbf{Script}, place the following:

\begin{lyxcode}
\$slope~=~\&random(-5.0,5.0,.5);

\$yint~~=~\&random(-5.0,5.0,.5);

\$answer~=~{}``\$slope{*}x~+~(\$yint)'';
\end{lyxcode}
\begin{itemize}
\item In the \textbf{Text Block}, place the following: {}``For a line with slope
\$slope and y-intercept \$yint, what is y equal to?''
\item In the \textbf{Answer}, place the following: \$answer
\item Set the Tolerance to .000001.
\item Set the \textbf{Sample Points} to x@0,1,2,3 .\end{itemize}

\end{document}

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