1

1/2

1

1/4

f = Function(sqrt(x), 0.0, 6.0)
a = Tangent(1.0, sqrt(x))
b = Tangent(4.0, sqrt(x))
A = Intersect(f, a, (0.99999997399442, 0.9999999869972099))
B = Intersect(f, b, (3.999999920474992, 1.999999980118748))
C = (2, 1)
D = Intersect(a, b)
poly1, d, a_1, c = Polygon(A, C, D)
E = (5, 2)
F = Intersect(f, b, (3.9999999853927184, 1.9999999963481796))
G = Point(b)
poly2, g, b_1, e = Polygon(B, E, G)