Informatiques Flashcards

1
Q

Ln x
e^x
Racine de x
Valeur absolue de x

A

Log(x)
Exp(x)
Sqrt(x)
Abs(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Matrice ligne
Matrice colonne
Matrice normale

A

[a, b, c]
[a ; b ; c ; d]
[a, b, c ; d, e, f]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
Matrice M(n,p) de 1
Matrice M(n,p) de 0
Matrice I (n,p)
A

Ones(n,p)
Zeros(n,p)
Eye(n,p)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Calculer et afficher le 10ème terme de la suite

A
u=1
For i=1:9
u=f(u)
end
disp(u)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Calculer et afficher tous les termes de la suite jusqu’au dixième

A
u=1
for i=1:9
disp(u)
u=f(u)
end
disp(u)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Calculer le premier entier n pour lequel n>=10^20

A
u=1
n=0
while u<1e20
n=n+1
u=f(u)
end
disp (n, "la valeur de n est")
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Un programme qui permet d’afficher les 10 premiers termes de la suite Un et faire une représentation graphique

A
for i = 1:10
u(i) = f(i)
disp("u("+string(i)+")="+string(u(i)))
end
plot2d(1:10, u, -1)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Représenter les 100 premiers termes de la suite Un

A
U=zeros(1,100)
U(1)=1
for n=1:99
U(n+1)=f(u(n))
end
Plot(U,"+")
How well did you know this?
1
Not at all
2
3
4
5
Perfectly