B3: 3
P_0: (1, 2)
P_1: (2, 1)
P_2: (3, 4)
f = Polynomial({P_0, P_1, P_2})
P_3 = (4, 1)
g = Polynomial({P_0, P_1, P_2, P_3})
h(x) = (-5 / 3 * x^(3)) + (12 * x^(2)) - (76 / 3 * x) + 17
A1: 1
B1: 1
C1: B1^(2)
A2: 1
B2: 2
C2: B2^(2)
C3: B3^(2)
A3: 1
m1: {{A1, B1, C1}, {A2, B2, C2}, {A3, B3, C3}}
m1inv: m1^(-1)
A5: 2
A6: 1
A7: 4
m2: {{A5}, {A6}, {A7}}
m3: (m1inv * m2)
A4: 1
B4: 4
C4: B4^(2)
D1: B1^(3)
D2: B2^(3)
D3: B3^(3)
D4: B4^(3)
m4: {{A1, B1, C1, D1}, {A2, B2, C2, D2}, {A3, B3, C3, D3}, {A4, B4, C4, D4}}
m4inv: m4^(-1)
A8: 1
m5: {{A5}, {A6}, {A7}, {A8}}
m6: (m4inv * m5)
a: x(P_0)
b: x(P_2)
m: (a + b) / 2
A: (a, 0)
B: (b, 0)
M: (m, 0)
c = Integral(f, a, b)
d = Integral(g, a, b)