From kde-commits Fri Sep 19 21:04:05 2008 From: Aleix Pol Gonzalez Date: Fri, 19 Sep 2008 21:04:05 +0000 To: kde-commits Subject: KDE/kdeedu/doc/kalgebra Message-Id: <1221858245.490259.32465.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=122185825520748 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) -> : lambda. It’s the way to specify the bounded variable in a function. -x->a..b : This is used when we need to delimitate a range +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. () : It is used to specify a higher priority. abc(params) : Functions. When the parser finds a function, it checks @@ -130,6 +130,18 @@ &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. + +Examples: + +sin(pi) +k:=33 +sum(k*x : x=0..x) +f:=p->p*k +f(pi) + + Menu options: @@ -201,8 +213,8 @@ sin(x) y->sin(y) -q->(0..100, q) q->3*sin(7q) +q=0..100->q If you have entered the function click on the OK button to display the graph in the main window.