#2039 incorrect integration of %e^(-(x^2*a^2))*cos(b*x)

closed
nobody
None
5
2010-07-26
2010-07-24
caprilo
No

The result of

integrate(exp(-(x^2*a^2))*cos(b*x),x,-inf,inf);

is 0 no matter if you answer that a is or is not 0. The result should be

sqrt(%pi)*exp(-b^2/(4*a^2))

Strangely, the result of

integrate(exp(-(x^2*a^2))*cos(b*x),x,0,inf);

is "und" (the integrand is even), and the result of

integrate(exp(-(x^2))*cos(b*x),x,-inf,inf);

is correct.
-----------------------------------------------------------------------------------
Maxima version: 5.21.1
Maxima build date: 16:9 6/10/2010
Host type: x86_64-unknown-linux-gnu
Lisp implementation type: GNU Common Lisp (GCL)
Lisp implementation version: GCL 2.6.7

Discussion

  • Dan Gildea

    Dan Gildea - 2010-07-26
    • status: open --> closed
     
  • Dan Gildea

    Dan Gildea - 2010-07-26

    Fixed in defint.lisp rev 1.79

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks