Krümmung ist negativ

Krümmung ist positiv

f(x) = 0.1 * (x - 1.0) * (x - 1.0) * (x - 5.0)
P = Point(f)
t = Tangent(P, f(x))
H_1: (x(P) - 0.67, f(x(P) - 0.67))
b = OrthogonalLine(H_1, xAxis)
H_2: (x(P) - 1.33, f(x(P) - 1.33))
c = OrthogonalLine(H_2, xAxis)
A = Intersect(t, b)
B = Intersect(t, c)
u = Vector(B, H_2)
v = Vector(A, H_1)
H_3: (x(P) + 0.67, f(x(P) + 0.67))
d = OrthogonalLine(H_3, xAxis)
C = Intersect(d, t)
H_4: (x(P) + 1.33, f(x(P) + 1.33))
e = OrthogonalLine(H_4, xAxis)
D = Intersect(t, e)
w = Vector(C, H_3)
z = Vector(D, H_4)