Représentation graphique de la fonction affine :

a = 0.7 (slider from -10 to 10, step 0.1)
b = 1 (slider from -10 to 10, step 0.1)
texte1 = LaTeX(d)
M = Point(d)
B = Intersect(d, yAxis)
M_x = (4.360296580377117, 0)
A = (0, 4.052207606263982)
M_y = (0, 4.052207606263982)
p = 0.7
f = Segment(M_y, M)
h = Segment(M, M_x)