(cosx^2 )(e^x)在[0,π]求定积分

问题描述:

(cosx^2 )(e^x)在[0,π]求定积分

∫(cosx)^2(e^x) dx
=∫(1+cos2x)/2(e^x) dx (cos2x=2(cosx)^2-1)
=∫(e^x)/2+(cos2x)(e^x)/2 dx
=∫(e^x)/2+∫(cos2x)(e^x)/2 dx
=e^π-1+1\2∫(cos2x)(e^x) dx
e^π-1=1\2∫(cos2x)(e^x)
(cosx^2 )(e^x)在[0,,π]定积分为2e^π-2
这是我胡做的,仅供参考
博君一笑O(∩_∩)O~ 总之我不碰数学题已经有小半年了

∫e^x*cos²x dx when x=0 to π
= (1/2)∫e^x(1+cos2x) dx,simplify the expression first.
= (1/2)∫(e^x+e^x*cos2x) dx
= (1/2)∫e^x dx + (1/2)∫e^x*cos2x dx
For (1/2)∫e^x dx
= 1/2*e^x(0 to π)
= (e^π-1)/2
For (1/2)∫e^x*cos2x dx
Applying the formula ∫e^(ax)*cos(bx) = e^(ax)*[acos(bx)+bsin(bx)]/(a²+b²)
= (1/2)*e^x*(cos2x+2sin2x)/(1+2²)(0 to π)
= (1/10)*[e^π*(cos2π+2sin2π)-e^0*(cos0+2sin0)]
= (e^π-1)/10
So the integral is equal to:
(e^π-1)/2 + (e^π-1)/10
= (3/5)(e^π-1)