MathGroup Archive 2010

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

Search the Archive

Re: Bug? Analytical integration of cosines gets the sign

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107196] Re: [mg107168] Bug? Analytical integration of cosines gets the sign
  • From: Mark McClure <mcmcclur at unca.edu>
  • Date: Fri, 5 Feb 2010 03:22:41 -0500 (EST)
  • References: <201002041132.GAA00336@smc.vnet.net>

On Thu, Feb 4, 2010 at 6:32 AM, K <kgspga at googlemail.com> wrote:
> faultyInt =
>  Integrate[Cos[ph]*1/Pi*Cos[4*ph]*Cos[2*ph], {ph, Pi, 3/2*Pi}]
> gives as result:
> 19/(105 \[Pi])

Yes, I'd agree that's a bug.  It does not occur in V6.0 or V5.2.
Also, if you pass the integrand to TrigExpand, you will find that you
get a version that V7 gets right - and, in fact, that a calculus
student could (in principle) do.

Mark McClure


  • Prev by Date: is it a bug?!please help.
  • Next by Date: Hilbert Transform
  • Previous by thread: Bug? Analytical integration of cosines gets the sign wrong
  • Next by thread: Re: Bug? Analytical integration of cosines gets the sign wrong