Integration of (sinx + cosx)^2

from 0 to pi/2.
I get pi/2 + 1 as my final answer... wondering if that's correct?

Hmmm. Isn't (sin + cos)^2=1+2cosxsinx ?

int(1+2cosx sinx)dx= x +sin^2 x

over the limit= PI/2+1 -0-0= wow, your answer.