Subversion Repositories wimsdev

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3263 bpr 1
:Mathematical functions
3264 bpr 2
:Function,Example,Effect
3263 bpr 3
:evalue
4
evalue(x^2+sin(y),x=3,y=4)
5
evaluation of the function x^2+sin(y), for x=3, y=4
6
:solve
7
solve(x^3-3*x+1,x=0..1)
8
the simple root of x^3-3x+1 between 0 and 1
9
:simplify
10
simplify(x^5*y^3*x^2/y)
11
simplified expression: x<sup>7</sup>y<sup>2</sup>
12
:diff
13
diff(sin(x)+cos(y),x)
14
the derivative of sin(x)+cos(y) with respect to x
15
:int
16
int(x^2+3*x+1,x)
17
anti-derivative of x^2+3*x+1,<br> the constant term being undertermined
18
:int
19
int(t^2+3*t+1,t=0..1)
20
the numerical integration of x^2+3*x+1, from 0 to 1
21
:det
22
det(\mat)
23
determinant of the matrix \mat
24
 
25
:sin tg tan sec (1/sin) cot cotan cotan ctg csc (1/cos)
26
 
27
fonctions trigonométriques
28
:acos acos arccos acos arcsin asin arctan atan arctg atan 
29
 
30
fonctions trigonométriques réciproques
31
:sh sinh tanh tanh th ch cosh coth cotanh 
32
 
33
fonctions hyperboliques
34
 
35
 
36
:Argch acosh argch Argsh asinh argsh Argth atanh argth
37
 
38
fonctions hyperboliques réciproques
39
:sqrt
40
\real{a=sqrt(32)}
41
racine carrée
42
:binomial
43
\integer{a=binomial(9,3)}
44
le coefficient binomial (pour des coefficients inférieurs à 10^7 sinon
45
utiliser la fonction de pari \text{a=pari(binomial(50,10))}
46
:ceil
47
\real{a=ceil(3.4)}
48
le plus petit entier supérieur
49
:floor
50
\real{a=floor(3.4)}
51
le plus grand entier inférieur
52
:rint round
53
\real{a=rint(3.4)}
54
closest integer
55
:e E
56
\real{a=e^2}
57
constante mathématique $m_e
58
:erf
59
:erfc
60
:EULER Euler euler
61
:exp
62
:factorial
63
\integer{a=factorial(4)}
64
factorielle
65
:Inf
66
\real{a=Inf + 3}
67
l'infini
68
:gcd
69
\integer{a=gcd(4,6)}
70
pgcd de deux entiers
71
:lcm
72
\integer{a=lcm(4,6)}
73
ppcm de deux entiers
74
:max
75
\real{a=max(4,6)}
76
maximum de deux nombres
77
:min
78
\real{a=gcd(4,6)}
79
minimum de deux nombres
80
:lg log10
81
\real{a=log10(10^4)}
82
log en base 10
83
:lgamma
84
\real{a=lgamma(e^(24))}
85
log de la fonction Gamma
86
:ln log
87
\real{a=ln(e^4)}
88
log népérien
89
:log2 mylog2
90
\real{a=log2(2^4)}
91
log en base 2
92
:pow
93
\real{a=pow(3,0.6)}
94
puissance, équivalent à  3^0.6
95
:sgn sign
96
\integer{a=sign(-4)}
97
signe de la valeur
98
:PI Pi pi
99
\real{a=sin(Pi)}
100
constante mathématique $m_pi