[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Problem_LON-CAPA_Functions.tex Script_Functions.tex all_functions_table.tex

www lon-capa-cvs-allow@mail.lon-capa.org
Sat, 14 Jun 2008 16:41:35 -0000


www		Sat Jun 14 12:41:35 2008 EDT

  Modified files:              
    /loncom/html/adm/help/tex	Problem_LON-CAPA_Functions.tex 
                             	Script_Functions.tex 
                             	all_functions_table.tex 
  Log:
  Document library argument to cas
  
  
Index: loncom/html/adm/help/tex/Problem_LON-CAPA_Functions.tex
diff -u loncom/html/adm/help/tex/Problem_LON-CAPA_Functions.tex:1.17 loncom/html/adm/help/tex/Problem_LON-CAPA_Functions.tex:1.18
--- loncom/html/adm/help/tex/Problem_LON-CAPA_Functions.tex:1.17	Wed Jun 11 20:47:08 2008
+++ loncom/html/adm/help/tex/Problem_LON-CAPA_Functions.tex	Sat Jun 14 12:41:34 2008
@@ -65,7 +65,8 @@
 \&roundto(\$x,\$n)  & Rounds a real number to n decimal points. \$x and \$n can be pure numbers \\
 \hline
  
-\&cas(\$s,\$e)&Evaluates the expression \$e inside the symbolic algebra system \$s. Currently, only the Maxima symbolic math system is implemented. Example: \&cas('maxima','6*7')\\ 
+\&cas(\$s,\$e,\$l)&Evaluates the expression \$e inside the symbolic algebra system \$s. Currently, only the Maxima symbolic math system is implemented. 
+\$l is an optional comma-separated list of libraries. Example: \&cas('maxima','6*7')\\ 
 \hline 
 
 \&implicit\_multiplication(\$f)&Adds mathematical multiplication operators to the formula expression \$f where only implicit multiplication is used. Example: \&implicit\_multiplication('2(b+3c)') returns 2*(b+3*c) \\
Index: loncom/html/adm/help/tex/Script_Functions.tex
diff -u loncom/html/adm/help/tex/Script_Functions.tex:1.9 loncom/html/adm/help/tex/Script_Functions.tex:1.10
--- loncom/html/adm/help/tex/Script_Functions.tex:1.9	Wed Jun 11 20:47:10 2008
+++ loncom/html/adm/help/tex/Script_Functions.tex	Sat Jun 14 12:41:34 2008
@@ -18,7 +18,7 @@
 \item sinh(x), cosh(x), tanh(x) 
 \item asinh(x), acosh(x), atanh(x) 
 \item roundto(x,n)
-\item cas(s,e) 
+\item cas(s,e,l) 
 \item web({}``a'',''b'',''c'') or web(a,b,c) 
 \item html({}``a'') or html(a) 
 \item j0(x), j1(x), jn(n,x), jv(y,x) 
Index: loncom/html/adm/help/tex/all_functions_table.tex
diff -u loncom/html/adm/help/tex/all_functions_table.tex:1.11 loncom/html/adm/help/tex/all_functions_table.tex:1.12
--- loncom/html/adm/help/tex/all_functions_table.tex:1.11	Wed Jun 11 20:47:10 2008
+++ loncom/html/adm/help/tex/all_functions_table.tex	Sat Jun 14 12:41:34 2008
@@ -49,8 +49,8 @@
  \hline 
 roundto(x,n) &\&roundto(\$x,\$n) &Rounds a real number to n decimal points. \$x and \$n can be pure numbers &  \\
  \hline
-&\&cas(\$s,\$e)&Evaluates the expression \$e inside the symbolic algebra system \$s. Currently, only the Maxima
-symbolic math system is implemented. Example: \&cas('maxima','6*7')&\\
+&\&cas(\$s,\$e,\$l)&Evaluates the expression \$e inside the symbolic algebra system \$s. Currently, only the Maxima
+symbolic math system is implemented. \$l is an optional comma-separated list of libraries. Example: \&cas('maxima','6*7')&\\
  \hline
 Not in CAPA&\&implicit\_multiplication(\$f)&Adds mathematical multiplication operators to the formula expression \$f where only implicit multiplication is used. Example: \&implicit\_multiplication('2(b+3c)') returns 2*(b+3*c)&\\
  \hline