Comparing Cubic vs Sum of Weighted Cubics
yS(x) = S x 3 - 2 S x 2 + S x
yT(x) = T x 3 - T x 2
NOTE: yT(x) = yS(x) with S = -T and x = -x + 1
yRED(x) = (1 - x) yS(x) + x yT(x)
yGREEN(x) = (T + S) x3 + (-T - S) x3 + S x
| S = -4
| S = -2
| S = 0
| S = 2
| S = 4
|
T = -4
|
|
|
|
|
|
T = -2
|
|
|
|
|
|
T = 0
|
|
|
|
|
|
T = 2
|
|
|
|
|
|
T = 4
|
|
|
|
|
|
Marc Zinck (mbz@cmu.edu)
Aug 29, 20006