x

f(x)

f(x) =

x+h

f(x+h)

f(x) = (1 / 2 * x^(2)) + 1
x_x = 2 (slider from -5 to 5)
X: (x_x, f(x_x))
X_1: (x_x, 0)
X_2: (0, f(x_x))
CasillaDeEntrada1 = Textfield(f)
i = Segment(X_1, X)
j = Segment(X_2, X)
h = -0.71 (slider from -1 to 1, step 0.01)
F: (x_x + h, f(x_x + h))
F_1: (x_x + h, 0)
F_2: (0, f(x_x + h))
g = Segment(F_1, F)
k = Segment(F_2, F)
l = Line(F, X)