Mathematica 9. I want this
Integrate[(
Cos[t ω]^2 Cos[α + t ω])/(-1 +
A Cos[α + t ω])^2, {t, 0, (2 π)/ω}]
Can Mathematica handle with it?
I tied different forms of input. TrigExpand, TrigReduce, FullSimplify. And sometimes it take more than 3000 seconds to give an answer. Some times it's short:
ConditionalExpression[(8 π Cos[2 α])/(A^3 ω),
1/ω ∈ Reals]
Sometimes it's not:
ConditionalExpression[(1/(2 A^3 ω))
Cos[2 α] (Cos[α] -
I Sin[α]) (16 π Cos[α] - ((-16 + 24 A^2 -
6 A^4 + A^6) Cos[α] Log[2])/((-1 + A^2)^(3/2)
Sqrt[(Cos[α] - I Sin[α])^4]) - ((-16 + 24 A^2 -
6 A^4 + A^6) Cos[α] Log[-(((2 - A^2 +
A^2 Cos[2 α]) (Cos[2 α] -
I Sin[2 α]))/(
2 Sqrt[-1 + A^2]
Sqrt[(Cos[α] - I Sin[α])^4]))])/((-1 + A^2)^(
3/2) Sqrt[(Cos[α] - I Sin[α])^4]) + ((-16 +
24 A^2 - 6 A^4 +
A^6) Cos[α] Log[((2 - A^2 +
A^2 Cos[2 α]) (Cos[2 α] - I Sin[2 α]))/(
Sqrt[-1 + A^2]
Sqrt[(Cos[α] - I Sin[α])^4])])/((-1 + A^2)^(3/2)
Sqrt[(Cos[α] - I Sin[α])^4]) +
16 I π Sin[α] + (
I (-16 + 24 A^2 - 6 A^4 + A^6) Log[2] Sin[α])/((-1 + A^2)^(
3/2) Sqrt[(Cos[α] - I Sin[α])^4]) + (
I (-16 + 24 A^2 - 6 A^4 +
A^6) Log[-(((2 - A^2 + A^2 Cos[2 α]) (Cos[2 α] -
I Sin[2 α]))/(
2 Sqrt[-1 + A^2]
Sqrt[(Cos[α] -
I Sin[α])^4]))] Sin[α])/((-1 + A^2)^(3/2)
Sqrt[(Cos[α] - I Sin[α])^4]) - (
I (-16 + 24 A^2 - 6 A^4 +
A^6) Log[((2 - A^2 + A^2 Cos[2 α]) (Cos[2 α] -
I Sin[2 α]))/(
Sqrt[-1 + A^2]
Sqrt[(Cos[α] -
I Sin[α])^4])] Sin[α])/((-1 + A^2)^(3/2)
Sqrt[(Cos[α] - I Sin[α])^4])),
1/ω ∈ Reals]
But every time it's wrong. When i calculate it numerically i have different result:
NIntegrate[
Simplify[((2 Cos[t ω]^2 Cos[α + t ω])/(-1 +
A Cos[α + t ω])^2) /. rl], {t, 0, (2 π)/ω /. rl}] // Chop
Why? May be it needs to increase the computation time? Is there any option for Integrate such as TimeConstrain? Or maybe this is impossible task for Mathematica...
Sorry if it's newbie question.
Thanks.
A
andalpha
might be useful too. $\endgroup$Mathematica
because you see no way of doing it yourself analytically right? But the software has to use the same analytical rules you would use yourself. $\endgroup$