integrate sin(x^n) dx from x=0 to pi