Simpson's rule with error $0$

823 Views Asked by At

I know that Simpson's rule is exact on all intervals for polynomials with $\deg(f) \leq 3$, but are these the only functions with the rule is exact for on all intervals? If so how would I prove this?