I have a question that is supposed to be very easy in a test:
We approximate $\displaystyle \int_0^1 x^2$ with Simpsonrule, and 5 intervals. Choose solution:

Firstly I don't understand what is meant with 5 intervals. Are the intervals not supposed to be even? Secondly, it's an easy test question. How can we get the reply fast without calculating $\frac{h}{3}(y_0+4y_1+y_2)?$