Prolongación

b = 0
a = 0 (slider from -300 to 300, step 0.1)
A: (a, b)
c = 0
d = 0
e = 0
f = 0
B: (c, d)
C: (e, f)
g = 0
h = 0
D: (g, h)
i = 0
j = 0
E: (i, j)
k = 0
l = 0
F: (k, l)
m = 0
n = 0
G: (m, n)
p = Polynomial({A, B, C, D, E, F, G})
q = Function(p, x(A), x(G))
o = false