Revision as of 12:14, 10 October 2010 by Claus chr (talk | contribs) (Importing a new version from external source)

Getting started with KAlgebra/da

Other languages:
Deutsch • ‎English • ‎dansk • ‎français • ‎italiano • ‎українська

Hjem » Programmer » Uddannelse » KAlgebra Hjem » Programmer » Uddannelse » KAlgebra » Kom i gang

Kalgebra er et regneprogram med symbolske og analytiske faciliteter, som både lader dig tegne grafer og 3D-plots og arbejde med matematiske udtryk.

Fanebladet Konsol

Lige når du starter KAlgebra, så ser du et tomt vindue; det er hovedsaligt her du arbejder med beregninger.

Let's get started with a little example of how KAlgebra works, just type:


Then type Enter 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:


And use them normally:


And that will give you the result:


You can also define functions:


And then use them:


Which should return


You can define a function with as many variables as you want:


The possibilities of defining functions are endless if you combine this with the piecewise function. Let's define the factor function:

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.


KAlgebra has recently started support for symbolic operations, to check it out, just type:




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:


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 this is the best way to learn how to do things with KAlgebra.

This page was last edited on 10 October 2010, at 12:21. Content is available under Creative Commons License SA 4.0 unless otherwise noted.