test
Author: M. Ebeling

test

x_0

x_0 + h

r(h)

r(h)/h

f(x_0)

f'(x_0)*h

m = 2 (slider from 0 to 3, step 0.1)
f(x) = x^(2.0)
A = Point(f)
a = Tangent(A, f)
g(x) = m * (x - 1.0) + 1.0
B: (x(A), 0.0)
h = 0.5 (slider from 0 to 1, step 0.0050)
C: (x(A) + h, 0.0)
D: (x(C), f(x(C)))
E: (x(C), g(x(C)))
b = Segment(D, E)
d: b / h
F: (x(A) + h, f(x(A)))
c = Segment(A, F)
e = Segment(C, F)
i = Segment(F, E)
j = Segment(B, A)
Fehler: "Fehler:
r(h) = " + b
Rel: "Rel. Fehler:
r(h)/h =" + d