T456

f(x) = If[-3 ≤ x ≤ 7, x^(3) + (5 * x^(2)) - (2 * x) + 6]
A: (-3, f(-3))
B: (2, f(2))
C: (7, f(7))
g(x) = If[-3 ≤ x ≤ 7, FitPoly[{A, B, C}, 2]]
tarkka = Integral(f, -3, 7)
simpson = Integral(g, -3, 7)
teksti2 = LaTeX(f, true, true)
teksti3 = LaTeX(g, true, true)
teksti4 = LaTeX(tarkka, true, true)
teksti5 = LaTeX(simpson, true, true)