Getting started with KAlgebra/fr

From KDE UserBase Wiki
Revision as of 08:38, 7 June 2016 by Fredtantini (talk | contribs) (Created page with "Cependant, '''KAlgebra''' est bien plus puissant que ça. Ça a commencé par une simple calculatrice, mais maintenant, c'est presque un [http://www.wikiwand.com/fr/Syst%C3%A8...")
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Home » Applications » Education » KAlgebra » fr

KAlgebra est une calculatrice avec des fonctionnalités d'analyse qui vous permet d’afficher des fonctions 2D et 3D, ainsi que de calculer facilement des expressions mathématiques.

L’onglet Console

Quand vous ouvrez KAlgebra pour la première fois, une fenêtre vide apparait. C’est l'espace de travail principal pour le calcul.

Regardons un petit exemple de comment KAlgebra fonctionne. Tapez :

2+2

Ensuite tapez Entrée et KAlgebra vous affichera le résultat. C'est simple pour l'instant.


Cependant, KAlgebra est bien plus puissant que ça. Ça a commencé par une simple calculatrice, mais maintenant, c'est presque un Système de calcul formel.

You can define variables this way:

k:=3

And use them normally:

k*4

And that will give you the result:

12

You can also define functions:

f:=x->x^2

And then use them:

f(3)

Which should return

9.

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

g:=(x,y)->x*y

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.

fact(5)
fact(3)

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

x+x+x+x

or

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:

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