integrate sin^2(x) + 2 sin^4(2x) from 0 to pi