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)(x-b_3)(x-b_4)+c

b_3 = 0 (slider from -8 to 8, step 0.2)
a = 1 (slider from -5 to 5, step 0.05)
c = 0 (slider from -5 to 5, step 0.1)
b_1 = -2 (slider from -8 to 8, step 0.2)
b_2 = -1 (slider from -8 to 8, step 0.2)
b_4 = 2 (slider from -8 to 8, step 0.2)
H: (0, c)
PO1: (b_1, 0)
P2: (b_2, 0)
P1: (b_1, c)
PO2: (b_2, c)
b = Segment(H, P1)
d = Segment(P1, PO1)
e = Segment(PO2, P2)
g = Segment(H, PO2)
P3: (b_3, 0)
PO3: (b_3, c)
h = Segment(P3, PO3)
i = Segment(PO3, H)
PO4: (b_4, c)
P4: (b_4, 0)
j = Segment(H, PO4)
k = Segment(PO4, P4)
f(x) = a (x - b_1) (x - b_2) (x - b_3) (x - b_4) + c