le cours a été remis en ligne après modification de ces deux exemples :
Modification de la correction du dernier exemple du cours fonctions affines
on a f(2)=13 et f(3)=7
a= f(2)-f(3)/2 - 3 = 13 - 7/2 - 3 = 6/-1 = -6
donc f(x) =-6 x + b
f(2) = -6 * 2 + b = -12 + b et f(2)=13
donc
-12 + b = 13
b = 13 +12 = 25
Donc f(x) = -6 x + 25
on a g(-1)=-2 et g(3)=4.
a= g(3)-g(-1)/3 - (-1) = 4 - (-2)/3 - (-1) = 6/4 = 3/2
donc g(x) = 3/2 x + b
g(3) = 3/2 * 3 + b = 9/2 + b et g(3)=4
donc
9/2 + b = 4
b = 4 - 9/2 = -1/2
Donc g(x) = 3/2 x - 1/2