y = x³

f = Function(x³, 0, 10)
A = Point(f)
a = Segment((x(A), 0), A)
b = Segment((0, y(A)), A)