t0

t0

tp

f1(x) = sin(x)
f2(x) = sin(2.0 * x)
f3(x) = sin(3.0 * x)
A = (0, -2)
B = (0, 1)
a = Segment(A, B)
C = (6.28, 1)
D = (6.28, -2)
b = Segment(C, D)
E = (2.6, 1)
F = (2.6, -2)
c = Segment(E, F)