abscisseA = -3 (slider from -10 to 10, step 0.1)
ordonnéeA = 3 (slider from -10 to 10, step 0.1)
abscisseB = 7 (slider from -10 to 10, step 0.1)
ordonnéeB = 0 (slider from -10 to 10, step 0.1)
A: (abscisseA, ordonnéeA)
B: (abscisseB, ordonnéeB)
a: (ordonnéeB - ordonnéeA) / (abscisseB - abscisseA)
d = Line(A, B)
C = Intersect(d, yAxis)
O = Intersect(xAxis, yAxis)
c = Segment(C, O)
b: ordonnéeA - a * abscisseA
texte1: "y = " + a + "x + " + b + ""