[sage-support] integrate problem (bug?)

2017-02-22 Thread robin hankin
Hi. I seem to be getting zero for a divergent integral: SageMath % ./sage ┌┐ │ SageMath version 7.5.1, Release Date: 2017-01-15 │ │ Type "notebook()" for the browser-based notebook interface.│ │ Type "

[sage-support] integrate() problem

2011-07-11 Thread robin hankin
Hi. What's going on here? y=(x^2)*exp(x)/(1+exp(x))^2 integrate(y,(x,-infinity,infinity)) 0 Sage gives me zero here. But 'y' is strictly positive everywhere, and I happen to know that the analytic answer is pi^2/3. What's going on here? -- Robin Hankin Uncertainty Analyst hankin.ro.