f''(x) = x - 1
f'(x) = 1/2·x^2 - x + a
f(x) = 1/6·x^3 - 1/2·x^2 + a·x + b
Gleichungssystem Aufstellen
f(-2) = 0 --> - 2·a + b - 10/3 = 0
f(2) = 4 --> 2·a + b - 2/3 = 4 II + I
2·b - 4 = 4 --> b = 4
2·a + 4 - 2/3 = 4 → a = 1/3
Fertig.
f(x) = 1/6·x^3 - 1/2·x^2 + 1/3·x + 4