Author: LP Brochier

Tangente

Secante (AM)

Point T

Trace de T

CTRL + F pour effacer la trace de T

a = 1 (slider from -5 to 5, step 0.1)
b = -2 (slider from -5 to 5, step 0.1)
c = 1 (slider from -5 to 5, step 0.1)
f(x) = a * x^(2.0) + b * x + c
A = Point(f)
M = Point(f)
d = Line(A, M)
coef: (y(M) - y(A)) / (x(M) - x(A))
texte1: "Coefficient directeur de la sécante (AM) = " + coef
e = Tangent(A, f)
g = false
i = false
texte2: "Coefficient directeur de la tangente " + (Slope[e])
T: (x(A), Slope[e])
S: (0.0, Slope[e])
j = Segment(T, S)
texte3: "" + (Slope[e])
S1: (x(A), 0.0)
h = Segment(S1, A)
k = Segment(S1, T)
l = false
U: T
m = false