rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

integrate(exp(-x),"x",0,inf); #3076

Closed rtoy closed 1 week ago

rtoy commented 1 week ago

Imported from SourceForge on 2024-07-07 12:45:49 Created by *anonymous on 2004-06-25 11:27:11 Original: https://sourceforge.net/p/maxima/bugs/580


Should be "1", I get:

------- Integral is divergent -- an error. Quitting. To debug this try DEBUGMODE(TRUE);) -------

(Spurious ")" at the end of the output too, I just noticed)

Maxima version: 5.9.0

rtoy commented 1 week ago

Imported from SourceForge on 2024-07-07 12:45:50 Created by nobody on 2004-06-26 10:19:04 Original: https://sourceforge.net/p/maxima/bugs/580/#b865


Logged In: NO

This is not a bug. The right way to write this integral is not: - integrate(exp(-x),"x",0,inf); which generates the "wrong" output, but is: - integrate(exp(-x),x,0,inf); The output is 1 in this case, and it is correct.

rtoy commented 1 week ago

Imported from SourceForge on 2024-07-07 12:45:53 Created by nobody on 2004-06-26 10:46:23 Original: https://sourceforge.net/p/maxima/bugs/580/#2c45


Logged In: NO

This is not a bug. The right way to write this integral is not: - integrate(exp(-x),"x",0,inf); which generates the "wrong" output, but is: - integrate(exp(-x),x,0,inf); The output is 1 in this case, and it is correct.

rtoy commented 1 week ago

Imported from SourceForge on 2024-07-07 12:45:57 Created by macrakis on 2004-07-07 19:20:09 Original: https://sourceforge.net/p/maxima/bugs/580/#411d