Rev 5755 | Rev 11530 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
11520 | mquerol | 1 | :Tipus de variables |
2 | :Tipus,Exemple,Significat |
||
5477 | bpr | 3 | :real |
4 | \real{x=random(-5..5)} |
||
11520 | mquerol | 5 | \x és un nombre real aleatori entre -5 i 5 |
5477 | bpr | 6 | :complex |
7 | \complex{z=(1+2*i)^3} |
||
8 | \z est le nombre complexe z=(1+2*i)^3 |
||
9 | :text |
||
10 | \text{a=1 2 3} |
||
11 | \a est le texte donné sans aucune transformation |
||
12 | :integer |
||
13 | \integer{n=3*exp(\a)} |
||
14 | \n est l'entier le plus proche de 3*e<sup>\a</sup> (il dépend de la valeur de \a) |
||
15 | :rational |
||
16 | \rational{x=2*5/6} |
||
17 | \x est le nombre rationnel (exact) 5/3 |
||
18 | :function |
||
19 | \function{f=2*x^2} |
||
20 | la fonction 2 x^2 |
||
21 | :matrix |
||
5755 | bpr | 22 | \matrix{m=1,2,3<br/>4,5,6<br/>7,8,9} |
5477 | bpr | 23 | \m est la matrice de 3 lignes et 3 colonnes. |