Réponses

Meilleure réponse !
2014-09-18T10:34:30+02:00
N = 3
U = 0
k = 0

k≠N
U = 3 x 0  - 2 x 0 + 3 = 3
N = 3
k = 1

k≠N
U = 3 x 3 - 2 x 1 + 3 = 10
N = 3
k = 2

k≠N
U = 3 x 10 - 2 x 2 + 3 = 29
N = 3
k = 3

k = N ⇒ dernière boucle
U = 3 x 29 - 2 x 3 + 3 = 84
N = 3
k = 3

Lorsque N = 3, U = 84