File:
[LON-CAPA] /
loncom /
html /
adm /
help /
tex /
Formula_Answers.tex
Revision
1.3:
download - view:
text,
annotated -
select for diffs
Mon Mar 3 22:19:30 2008 UTC (16 years, 6 months ago) by
felicia
Branches:
MAIN
CVS tags:
version_2_9_X,
version_2_9_99_0,
version_2_9_1,
version_2_9_0,
version_2_8_X,
version_2_8_99_1,
version_2_8_99_0,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_X,
version_2_7_99_1,
version_2_7_99_0,
version_2_7_1,
version_2_7_0,
version_2_6_X,
version_2_6_99_1,
version_2_6_99_0,
version_2_6_3,
version_2_12_X,
version_2_11_X,
version_2_11_5_msu,
version_2_11_5,
version_2_11_4_uiuc,
version_2_11_4_msu,
version_2_11_4,
version_2_11_3_uiuc,
version_2_11_3_msu,
version_2_11_3,
version_2_11_2_uiuc,
version_2_11_2_msu,
version_2_11_2_educog,
version_2_11_2,
version_2_11_1,
version_2_11_0_RC3,
version_2_11_0_RC2,
version_2_11_0_RC1,
version_2_11_0,
version_2_10_X,
version_2_10_1,
version_2_10_0_RC2,
version_2_10_0_RC1,
version_2_10_0,
loncapaMITrelate_1,
language_hyphenation_merge,
language_hyphenation,
bz6209-base,
bz6209,
bz5969,
bz2851,
PRINT_INCOMPLETE_base,
PRINT_INCOMPLETE,
HEAD,
GCI_3,
GCI_2,
GCI_1,
BZ5971-printing-apage,
BZ5434-fox,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse
replaced "equation" with "expression"
\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 expression 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. 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}\]
\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}
Note that LON-CAPA expects expressions, not equations. So
\begin{verbatim}y=x^2\end{verbatim}
would not be recognized.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>