yoyo
Author: jp

u_1

u_1

u_2

u_2

u_3

u_3

f(x) = 1.0 / x + 1.0
u_0 = Point(xAxis)
A1: (x(u_0), f(x(u_0)))
b = Segment(u_0, A1)
c = OrthogonalLine(A1, yAxis)
A = Intersect(c, yAxis)
d = Segment(A1, A)
u_1: f(x(u_0))
A2: (u_1, u_1)
e = Segment(A, A2)
g = OrthogonalLine(A2, xAxis)
B = Intersect(g, xAxis)
h = Segment(A2, B)
u_2: f(u_1)
A3: (u_1, u_2)
A4: (0.0, u_2)
i = Segment(A3, A4)
A5: (u_2, u_2)
A6: (u_2, 0.0)
j = Segment(A4, A5)
k = Segment(A5, A6)
u_3: f(u_2)
A7: (u_2, u_3)
A8: (0.0, u_3)
l = Segment(A6, A7)
m = Segment(A7, A8)
A9: (u_3, u_3)
A10: (u_3, 0.0)
n = Segment(A8, A9)
p = Segment(A9, A10)