插值多項式
Author: 藍邦偉  老師

(a_1,b_1)

(a_2,b_2)

(a_n,b_n)

(a_n_+_1_,b_n_+_1)

插值多項式

.

,

,.

,,

過三點的二次多項式

過四點的三次多項式

過五點的四次多項式

過六點的五次多項式

A = (-1.60993927301682, 3.436368956632877)
B = (0.4862633682798084, 2.8745002074193473)
C = (2.4960246635435834, 5.57579227094593)
D = (4.354513603249873, 4.819430493158487)
E = (4.786720333414128, 3.3931482836164513)
F = (6.861312638202544, 5.165195877289889)
f_5 = Polynomial({A, B, C, D, E, F})
a = false
b = false
c = false
d = true
f_4 = Polynomial({A, B, C, D, E})
f_3 = Polynomial({A, B, C, D})
f_2 = Polynomial({A, B, C})
u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))