Subversion Repositories wimsdev

Rev

Rev 5755 | Go to most recent revision | 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
4
\real{x=random(-5..5)}
3460 bpr 5
\x is a random real number between -5 and 5
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)}
3460 bpr 14
\n is the nearest integer from 3*e<sup>\a</sup>
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.