[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/doc/kalgebra
From:       Aleix Pol Gonzalez <aleixpol () gmail ! com>
Date:       2008-09-19 21:04:05
Message-ID: 1221858245.490259.32465.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 862786 by apol:

Updated the documentation to relfect the changes on the parser.


 M  +14 -2     index.docbook  


--- trunk/KDE/kdeedu/doc/kalgebra/index.docbook #862785:862786
@@ -98,7 +98,7 @@
 like: a**(1/b)</para></listitem>
 <listitem><para>-&gt; : lambda. It's the way to specify the bounded variable in
 a function.</para></listitem>
-<listitem><para>x-&gt;a..b : This is used when we need to delimitate a range
+<listitem><para>x=a..b : This is used when we need to delimitate a range
 (bounded variable+uplimit+downlimit). This means that x goes from a to \
b.</para></listitem>  <listitem><para>() : It is used to specify a higher \
priority.</para></listitem>  <listitem><para>abc(params) : Functions. When the parser \
finds a function, it checks @@ -130,6 +130,18 @@
 <para>&kalgebra;'s console is useful as a calculator. There you
 have a list of the declared variables. By double clicking on them you will see a
 dialog that lets you change their values (just a way to trick the log).
+
+Every time you enter an expression, the ans variable's value will be changed to the \
last result. +
+<para>Examples:</para>
+<itemizedlist>
+<listitem><para>sin(pi)</para></listitem>
+<listitem><para>k:=33</para></listitem>
+<listitem><para>sum(k*x : x=0..x)</para></listitem>
+<listitem><para>f:=p->p*k</para></listitem>
+<listitem><para>f(pi)</para></listitem>
+</itemizedlist>
+
 Menu options:</para>
 
 <variablelist>
@@ -201,8 +213,8 @@
 <listitem><para>sin(x)</para></listitem>
 <listitem><para>x ²</para></listitem>
 <listitem><para>y->sin(y)</para></listitem>
-<listitem><para>q->(0..100, q)</para></listitem>
 <listitem><para>q->3*sin(7q)</para></listitem>
+<listitem><para>q=0..100->q</para></listitem>
 </itemizedlist>
 <para>If you have entered the function click on the <guibutton>OK</guibutton> button \
to display the graph in the main window.</para>  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic