--- loncom/html/adm/help/tex/Formula_Answers.tex 2008/02/25 21:29:07 1.1 +++ loncom/html/adm/help/tex/Formula_Answers.tex 2008/03/03 22:19:30 1.3 @@ -1,14 +1,14 @@ \label{Formula_Answers} If the answer to your LON-CAPA problem is \begin{quote} -$2x^{2}+6x+\frac{4}{3}$ +\[2x^{2}+6x+\frac{4}{3}\] \end{quote} You can enter any of the following: \begin{itemize} \item \begin{verbatim}2x^2+6x+4/3\end{verbatim} \item \begin{verbatim}2*x^2+6*x+4/3\end{verbatim} \item \begin{verbatim}2(x^2+3x+2/3)\end{verbatim} -\item or any other equation that is equivalent to the answer +\item or any other expression that is equivalent to the answer \end{itemize} However, if the answer to your LON-CAPA problem has more than one @@ -24,11 +24,12 @@ example: \end{itemize} The computer can figure out that 2x is 2{*}x because it is a number times a letter, but it can't tell if xy is a two letter variable or -if it is x{*}y. +if it is x{*}y. Also, it is unclear if {\tt exp} is meant to be +the exponential function or e{*}x{*}p. If your answer is: \begin{quote} -$\sqrt{4x}$ +\[\sqrt{4x}\] \end{quote} enter the following as your answer: \begin{itemize} @@ -36,3 +37,6 @@ enter the following as your answer: \item\begin{verbatim}2sqrt(x)\end{verbatim} \item\begin{verbatim}2*sqrt(x)\end{verbatim} \end{itemize} +Note that LON-CAPA expects expressions, not equations. So +\begin{verbatim}y=x^2\end{verbatim} +would not be recognized.