P(x_0|f(x_0))

Q(x_1|f(x_1))

x_0

x_1

f(x_0)

f(x_1)

f(x) = (-0.1 * (x - 6)^(2)) + 5
P = Point(f)
Q = Point(f)
X0: (x(P) | 0)
X1: (x(Q) | 0)
s = Line(P, Q)
Y0: (0 | y(P))
Y1: (0 | y(Q))
R: (x(Q) | y(P))
dx: x(Q) - x(P)
dy: y(Q) - y(P)
Text1: "" + dx + ""
Text2: "" + dy + ""
m: dy / dx
g = Vector(P, R)
h = Vector(R, Q)
Text3: "m(x_0, x_1) \approx \frac{" + (LaTeX[dy]) + "}{" + (LaTeX[dx]) + "} \approx " + (LaTeX[m]) + ""