newton
Author: Andreas Brinken

1. Näherung x_1

2. Näherung x_2

3. Näherung x_3

f(x) = exp(-(x)) - 2.0 * x^(2.0)
x_0 = 0 (slider from -10 to 15, step 0.1)
X_0: (x_0, 0.0)
P_0: (x(X_0), f(x(X_0)))
b = Tangent(P_0, f)
X_1 = Intersect(xAxis, b)
c = Segment(X_0, P_0)
P_1: (x(X_1), f(x(X_1)))
d = Tangent(P_1, f)
X_2 = Intersect(d, xAxis)
e = Segment(X_1, P_1)
P_2: (x(X_2), f(x(X_2)))
g = Tangent(P_2, f)
X_3 = Intersect(g, xAxis)
h = Segment(P_2, X_2)
i = false
j = false
k = false
u = Vector(X_1, X_0)
Text_X2: "= " + (x(X_2))
Text_X3: "= " + (x(X_3))
Text_x1: "= " + (x(X_1))