一道求定积分的题目!

问题描述:

一道求定积分的题目!
∫1/(1+sinx),(上限是π/4,下限是0)

∵1/(1+sinx)=1/[sin²(x/2)+cos²(x/2)+2sin(x/2)cos(x/2)]
=1/[sin(x/2)+cos(x/2)]²
=sec²(x/2)/[1+tan(x/2)]²
∴原式=∫(0,π/4)sec²(x/2)/[1+tan(x/2)]²dx
=2∫(0,π/4)d(1+tan(x/2))/[1+tan(x/2)]²
={-2/[1+tan(x/2)]}|(0,π/4)
=2-√2