KAlgebra: Difference between revisions

From KDE UserBase Wiki
No edit summary
Line 10: Line 10:
[[Image:Kalgebra_welcome.png|thumb|500px|center| 2D and 3D plots]]
[[Image:Kalgebra_welcome.png|thumb|500px|center| 2D and 3D plots]]


== The Console Tab ==
==First Steps with '''KAlgebra'''==
When you first open '''KAlgebra''' a blank window shows up, this is the main work area for calculus.


Let's get started with a little example of how '''KAlgebra''' works, just type:
Here is a short [[KAlgebra/Console Tab|tutorial how to use the console tab]].
{{Input|1=2+2}}
Then type <keycap>Return</keycap> and '''KAlgebra''' will show you the result. So far it's easy.
 
However, '''KAlgebra''' is much more powerful than that, it started as a simple calculator, but now it's almost a CAS.
You can define variables this way:
{{Input|1=k:=3 }}
And use them normally:
{{Input|1=k*4}}
And that will give you the result: 12
You can also define functions:
{{Input|1=f:=x->x^2}}
And then use them:
{{Input|1=f(3)}}
Which should return 9.
You can define a function with as many variables as you want:
{{Input|1=g:=(x,y)->x*y}}
The possibilities of defining functions are endless if you combine this with the piecewise. Let's define the factor function:
{{Input|1=fact:=n->piecewise { n=0 ? 1, n=1 ? 1, ? n*fact(n-1) } }}
Yes! '''KAlgebra''' supports recursive functions. Give some values to n, to test it.
{{Input|fact(5)
fact(3)}}
 
'''KAlgebra''' has recently started support for symbolic operations, to check it out, just type:
{{Input|1=x+x+x+x}}
or
{{Input|1=x*x}}
It doesn't work on some complex structures, though. Only basic support so far.
 
Moreover, '''KAlgebra''' has support for differentiation.
An example of the syntax:
{{Input|1=diff(x^2:x)}}
 
If you have used '''KAlgebra''', you will have noticed the syntax completion support, which is very helpful.


Another resource that can be useful to learn more about '''KAlgebra''' comes with '''KAlgebra''': The '''Dictionary''' tab. It contains examples of every function supported by '''KAlgebra'''. Maybe the best way to learn how to do things with '''KAlgebra'''.
Another resource that can be useful to learn more about '''KAlgebra''' comes with '''KAlgebra''': The '''Dictionary''' tab. It contains examples of every function supported by '''KAlgebra'''. Maybe the best way to learn how to do things with '''KAlgebra'''.

Revision as of 18:04, 4 July 2010

Home » Applications » Education » KAlgebra

KAlgebra is a calculator with symbolic and analysis features that lets you plot 2D and 3D functions as well as to easily calculate mathematical expressions.

It is part of the KDE Education Project.

2D and 3D plots

First Steps with KAlgebra

Here is a short tutorial how to use the console tab.

Another resource that can be useful to learn more about KAlgebra comes with KAlgebra: The Dictionary tab. It contains examples of every function supported by KAlgebra. Maybe the best way to learn how to do things with KAlgebra.

Documentation