# [LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Formula_Answers.tex

**felicia
**
lon-capa-cvs-allow@mail.lon-capa.org

*Mon, 25 Feb 2008 21:29:07 -0000*

felicia Mon Feb 25 16:29:07 2008 EDT
Added files:
/loncom/html/adm/help/tex Formula_Answers.tex
Log:
Helpfile to aid students in entering answers to formula response problems. Will hopefully be linked to the "unable to understand formula" feedback given to students.
Index: loncom/html/adm/help/tex/Formula_Answers.tex
+++ loncom/html/adm/help/tex/Formula_Answers.tex
\label{Formula_Answers}
If the answer to your LON-CAPA problem is
\begin{quote}
$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
\end{itemize}
However, if the answer to your LON-CAPA problem has more than one
variable, such as the following:
\begin{quote}
$2xy+3x$
\end{quote}
You will need to enter the {*} for all implied multiplication, for
example:
\begin{itemize}
\item\begin{verbatim}2*x*y+3*x\end{verbatim}
\item\begin{verbatim}x*(2*y+3)\end{verbatim}
\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 your answer is:
\begin{quote}
$\sqrt{4x}$
\end{quote}
enter the following as your answer:
\begin{itemize}
\item\begin{verbatim}sqrt(4x)\end{verbatim}
\item\begin{verbatim}2sqrt(x)\end{verbatim}
\item\begin{verbatim}2*sqrt(x)\end{verbatim}
\end{itemize}