Subversion Repositories wimsdev

Rev

Rev 17513 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
17513 bpr 1
:Liste de types de variables
3264 bpr 2
:Type,Example,Signification
3263 bpr 3
:real
18096 reyssat 4
\real{x=9.1^9+6^8}
5
\x is a real number rounded to 8 significant digits. For more precision, use pari or maxima with the text type: \text{a=pari(9.1^9+6^8)}
3263 bpr 6
:complex
7
\complex{z=(1+2*i)^3}
3460 bpr 8
\z is the complex number z=(1+2*i)^3
3263 bpr 9
:text
10
\text{a=1 2  3}
3460 bpr 11
\a is the text without any transformation
3263 bpr 12
:integer
13
\integer{n=3*exp(\a)}
18096 reyssat 14
\n is the integer closest to 3*e<sup>\a</sup> (it depends on the value of \a and is calculated first as real, so with 8 significant digits only)
3263 bpr 15
:rational
3316 reyssat 16
\rational{x=2*5/6}
17
\x is the (exact) rational number 5/3
3263 bpr 18
:function
19
\function{f=2*x^2}
3460 bpr 20
the function 2 x^2
3263 bpr 21
:matrix
17513 bpr 22
\matrix{m=1,2,3<br>4,5,6<br>7,8,9}
3460 bpr 23
\m is the matrix with 3 lines et 3 rows.