Interpolation


Linear: P = C1t + C0
C1 = P1 - P0       C0 = P0

Cubic: P = C3t3 + C2t2 + C1t + C0