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, 5 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"

    1: \label{Formula_Answers}
    2: If the answer to your LON-CAPA problem is
    3: \begin{quote}
    4: \[2x^{2}+6x+\frac{4}{3}\]
    5: \end{quote}
    6: You can enter any of the following:
    7: \begin{itemize}
    8: \item \begin{verbatim}2x^2+6x+4/3\end{verbatim}
    9: \item \begin{verbatim}2*x^2+6*x+4/3\end{verbatim}
   10: \item \begin{verbatim}2(x^2+3x+2/3)\end{verbatim}
   11: \item or any other expression that is equivalent to the answer
   12: \end{itemize}
   13: 
   14: However, if the answer to your LON-CAPA problem has more than one
   15: variable, such as the following:
   16: \begin{quote}
   17: $2xy+3x$
   18: \end{quote}
   19: You will need to enter the {*} for all implied multiplication, for
   20: example:
   21: \begin{itemize}
   22: \item\begin{verbatim}2*x*y+3*x\end{verbatim}
   23: \item\begin{verbatim}x*(2*y+3)\end{verbatim}
   24: \end{itemize}
   25: The computer can figure out that 2x is 2{*}x because it is a number
   26: times a letter, but it can't tell if xy is a two letter variable or
   27: if it is x{*}y. Also, it is unclear if {\tt exp} is meant to be
   28: the exponential function or e{*}x{*}p.
   29: 
   30: If your answer is:
   31: \begin{quote}
   32: \[\sqrt{4x}\]
   33: \end{quote}
   34: enter the following as your answer:
   35: \begin{itemize}
   36: \item\begin{verbatim}sqrt(4x)\end{verbatim}
   37: \item\begin{verbatim}2sqrt(x)\end{verbatim}
   38: \item\begin{verbatim}2*sqrt(x)\end{verbatim}
   39: \end{itemize}
   40: Note that LON-CAPA expects expressions, not equations. So
   41: \begin{verbatim}y=x^2\end{verbatim}
   42: would not be recognized.

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