Réponses

2013-03-02T20:18:33+01:00

1)
Entrees:
y1=f(x1)
y2=f(x2)
debut
a = (y2 - y1)/(x2 - x1)
b = y1 - a*x1
fin

 

2) a.

x1 = -2 ; x2 = 6

y1 = 1 ; y2 = 5

a = (5-1)/(6-(-2)) = 4/8 = 1/2

b = 1 - 1/2 * (-2) = 2

 

    b.

x1 = -2 ; x2 = 2

y1 = 2 ; y2 = 5

a = (5-2)/(2-(-2)) = 3/4

b = 2 - 3/4 * (-2) = 7/2