Author: jp

f(x) = 0.25 * (x - 1.0) * (x + 3.0) * (x - 4.0)
A = Point(yAxis)
a = OrthogonalLine(A, yAxis)
B, C, D = Intersect(f, a)
texte1: "" + (y(A))
b = OrthogonalLine(B, xAxis)
c = OrthogonalLine(C, xAxis)
d = OrthogonalLine(D, xAxis)
E = Intersect(b, xAxis)
F = Intersect(c, xAxis)
G = Intersect(d, xAxis)
texte2: "" + (x(E))
texte3: "" + (x(F))
texte4: "" + (x(G))
e = Segment(B, E)
g = Segment(F, C)
h = Segment(G, D)
H = Point(xAxis)
i = OrthogonalLine(H, xAxis)
M = Intersect(f, i)
j = OrthogonalLine(M, yAxis)
I = Intersect(yAxis, j)
texte5: "" + (x(H))
k = Segment(H, M)
l = Segment(M, I)
texte6: "f( " + (x(H)) + " ) = " + (y(I))