use Simpson's rule sin^2(x) from 0 to pi with 5 intervals