integral of cos(x)(1+sin(x))^2,x,0,pi