Consider the quadrature given by
∫0πw(x)f(x)dx≈k=1∑νbkf(ck)
for ν∈N, disjoint ck∈(0,π) and w>0. Show that it is not possible to make this quadrature exact for all polynomials of order 2ν.
For the case that ν=2 and w(x)=sinx, by considering orthogonal polynomials find suitable bk and ck that make the quadrature exact on cubic polynomials.
[Hint: ∫0πx2sinxdx=π2−4 and ∫0πx3sinxdx=π3−6π. ]