bonjour
je nomme f(x) la courbe rouge
f ( 5) = 7 et f ( 0 ) = - 3
( - 3 - 7 ) / ( 0 - 5 ) = - 10 / - 5 = 2
ax = 2 x
f ( 5) = 7
5 *2 + b = 7
b = 7 - 10 = - 3
f (x) = 2 x - 3
d'où f ( 0) = - 3
g ( 0) = 2 et g ( 2) = - 4
( -4 -2)/ ( 2 - 0 ) = -6/2 = - 3
ax = -3 x
g( 2) = - 4
- 3 * 2 + b = - 4
b = - 4 +6 = 2
g (x ) = - 3 x + 2
g ( 0 ) = 0 + 2 = 2