recta
Author: Paulo Correia
Date: 5/4/07

Variação de parâmetros

ondde é que isto fica

f(x)=a(x-b_1)(x-b_2)+c

b_2 = 0 (slider from -9 to 9, step 0.1)
b_1 = 0 (slider from -9 to 9, step 0.1)
c = 0 (slider from -6 to 6, step 0.1)
a = 1 (slider from -5 to 5, step 0.05)
H: (0, c)
K: (b_1, 0)
V: (b_2, 0)
P1: (b_1, c)
P2: (b_2, c)
b = Segment(H, P1)
d = Segment(P1, K)
e = Segment(P2, V)
f(x) = a * (x - b_1) * (x - b_2) + c
g = Segment(P2, H)