[WetRek] Kwadratuurformules

1826 days ago by Toon.Baeyens

var('x, c1, c2, x1') w(x) = 1 a = -1 b = 1 equations = [ integrate(w*x^i, x, a, b) == c1*(-x1)^i + c2*x1^i for i in range(3) ] for equ in equations: show(equ) show(solve(equations, [x1, c1, c2], solution_dict=True)[0])