Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Is GenerateConditions working properly in my version 3?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23416] Is GenerateConditions working properly in my version 3?
  • From: zeno at magicnet.net
  • Date: Sun, 7 May 2000 21:18:01 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

There is a posting in the sci.math.symbolic newsgroup about conditions for
an Integral. They input..

In[2]:= Timing[FullSimplify[Integrate[Cos[x]^2/(A*Sin[x] + 1)^4,
    {x, 0, 2*Pi}, GenerateConditions -> True]]]

and got the output of

Out[2]=
{4.646*Second,
  If[Im[A] != 0 || A <= 1 && 1 + A >= 0,
   Pi/(1 - A^2)^(5/2), Integrate[Cos[x]^2/(1 + A*Sin[x])^4,
    {x, 0, 2*Pi}]]}

Their answer has a condtion for A.

When I input the same thing..

Timing[FullSimplify[Integrate[Cos[x]^2/(A*Sin[x] + 1)^4,
    {x, 0, 2*Pi}, GenerateConditions -> True]]]

I get..

{63.6*Second, (Sqrt[(1 - A^2)^(-1)]*Pi)/(-1 + A^2)^2}

I realize the default for GenerateConditions in version 3 is True, and I get
the same answer if I do not include GenerateConditions -> True or I add it.
However, i do not get the conditions in the output of..


If[Im[A] != 0 || A <= 1 && 1 + A >= 0

that the other person got. Could someone try it in version 3 to make sure my
version 3 is working properly? Perhaps the other person was using version 4?
I email the person, but am asking here incase they do not answer.




  • Prev by Date: Re: An example of a quadratic that version 2.2.2 can not solve but version 3 does...
  • Next by Date: extracting column data from 2D Matrix
  • Previous by thread: FrontEnd Questions
  • Next by thread: extracting column data from 2D Matrix