Tìm nguyên hàm 

Câu hỏi: Tìm nguyên hàm I=1(sinx+cosx)2dx.

A. I=-12 tan(x+π4) +C

B. I=12 tan(x+π4) +C

C. I=-12 tan(x-π4) +C

D. I=12 tan(x+π4) +C