M(x_M,y_M)

Courbe

Pt A

Pt M

y_M = f(x_M)

x_M

f(x) =

f(x) = x^(2.0) - 2.0 * x + 1.0
x_M = -1.6 (slider from -3 to 5, step 0.1)
y_M: f(x_M)
M: (x_M, y_M)
A = (3.7600000000000002, 5.32)
x_A: x(A)
y_A: y(A)
imagedex_A: f(x_A)
a = true
b = true
c = true
B = (6.5, 4.98)
C = (7.5, 4.98)
D = (7.5, 3.98)
E = (6.5, 3.98)
F = (10.5, 4.98)
G = (11.5, 4.98)
H = (11.5, 3.98)
I = (10.5, 3.98)
J = (8, 5.98)
K = (8, 2.98)
L = (10, 2.98)
N = (10, 5.98)
d = Segment(B, C)
e = Segment(C, D)
g = Segment(D, E)
h = Segment(E, B)
i = Segment(J, N)
j = Segment(N, L)
k = Segment(L, K)
l = Segment(K, J)
m = Segment(F, I)
n = Segment(I, H)
p = Segment(H, G)
q = Segment(G, F)
O = Midpoint(C, D)
P = Midpoint(J, K)
Q = Midpoint(N, L)
R = Midpoint(F, I)
r = Segment(O, P)
s = Segment(Q, R)
texte1: x_M + ""
texte4: "" + (f(x_M))
texte6: "A( " + (x(A)) + " , " + (y(A)) + " )"
texte7: "f( " + (x(A)) + " ) = " + (f(x(A)))
texte8 = Text(f)