Bonjour à toi, voilà la correction de tes exercices!
Exercice 3
Tout est bon sauf:
- (a-b):c pour a=-1, b=5 et c=6
(a-b):c = (-1-5):6 = -6:6 = -1 et non pas 1.
- axb-c et (a-b):c pour a=-3, b=-7 et c=-4
axb-c = (-3)x(-7)-(-4) = 21+4 = 25 et non pas 17.
(a-b):c = (-3-(-7)):-4 = 4:(-4) = -1 et non pas -2,5.
- axb-c, -axc et (a-b):c pour a=-5, b=3 et c=-10
axb-c = -5x3-(-10) = -15+10 = -5 et non pas -34.
-axc = -(-5)x(-10) = 5x(-10) = -50 et non pas -80.
(a-b):c = (-5-3):(-10) = -8x(-10) = 0,8 et non pas 1,1.
Exercice 4
Le premier carré magique est bon!
Le second carré magique a un petit souci, donc voici la correction:
-50 / 1 / 20
-4 / -10 / -25
5 / 100/ 2