a =

f(a+h)

f(a)

a

a+h

Coordonnées

Pente

a = 2
ChampTexte1 = Textfield(a)
f(x) = x^(2)
M: (a, f(a))
h = 1.36 (slider from -10 to 10, step 0.001)
N: (a + h, f(a + h))
d = Line(M, N)
p = Slope(d)
b = Segment(M, (x(M), 0))
c = Segment(M, (0, y(M)))
e = Segment(N, (0, y(N)))
g = Segment(N, (x(N), 0))
texte1: "\textbf{Pente de la sécante (MN) : } \frac{f(a+h)-f(a)}{h} =  " + (LaTeX[p]) + ""
i = true
pente = Slope(d)
j = true