| Original Message (ID '153709') By Nasser M. Abbasi: |
| I asked some folks on this at a different Mathematica forum (stackexchange) who know more about this than me.
Mathematica result is correct. Apparently the results are equivalent. Since this is an indefinite integral, there is a constant additive constant which makes the 2 results equivalent mathematically.
mathematicaAnswer = Integrate[Cos[x]/Sin[x]^3, x];
possibleCorrectAnswer = -1/(2 Sin[x]^2);
Simplify[mathematicaAnswer - possibleCorrectAnswer]
which give 1/2.
also see
Plot[mathematicaAnswer - possibleCorrectAnswer, {x, -Pi, Pi}]
so, not a bug. But I agree, the form given is kind'a strange but not wrong.
|
|