f(x)

f(x0)

x0

f(x1)

x1

Punkt P

Steigungsdreieck

x1 - x0

f(x1) - f(x0)

m

Sekante AP

Tangente an A

q = Function(x^(2.0) * (x - 6.0) / 10.0 * (x - 8.0) / 5.0, 0.0, 10.0)
A = Point(q)
a = OrthogonalLine(A, xAxis)
b = OrthogonalLine(A, yAxis)
B = Intersect(yAxis, b)
C = Intersect(xAxis, a)
P = Point(q)
d = OrthogonalLine(P, xAxis)
e = OrthogonalLine(P, yAxis)
E = Intersect(e, yAxis)
F = Intersect(d, xAxis)
c = true
f = true
D = Intersect(b, d)
g = Segment(A, D)
h = Segment(D, P)
i = Segment(A, P)
j = true
k = Tangent(A, q)
l = true