Opened 6 years ago

Last modified 2 years ago

#15496 new defect

Incorrect result for divergent integral

Reported by: ppurka Owned by:
Priority: major Milestone: sage-6.4
Component: calculus Keywords:
Cc: kcrisman, jakobkroeker Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps: todo

Description

From google spreadsheet which no one reads X-(

sage: integrate(x^2/exp(-1/(x^2+1))/(x^2+1),(x,-infinity,infinity)).n()
-3.3357920860949157

Wolfram alpha gives the correct answer.

Change History (5)

comment:1 Changed 6 years ago by kcrisman

  • Cc kcrisman added

This is not a symbolic Maxima problem, as the integral is just returned, so it's something about how we evaluate n on these unevaluated integrals.

comment:2 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:3 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:4 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:5 Changed 2 years ago by jakobkroeker

  • Cc jakobkroeker added
Note: See TracTickets for help on using tickets.