integrate sin x^2 - 2x + 3 dx from x=0 to pi