Ticket #3013 (closed defect: fixed)
[with patch, positive review] bug in integrate (found during a talk!)
| Reported by: | was | Owned by: | was |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.1.2 |
| Component: | calculus | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
sage: integrate(sin(x)*cos(10*x)*log(x)) Traceback (most recent call last): ... TypeError: Error executing code in Maxima CODE: sage22 : integrate(sage21,sage3)$ Maxima ERROR: Too many contexts. sage: show(integrate(sin(x^2)
Attachments
Change History
comment:3 Changed 5 years ago by mabshoff
- Summary changed from bug in integrate (found during a talk!) to [fix in upstream Maxima] bug in integrate (found during a talk!)
comment:4 Changed 5 years ago by mabshoff
This now works:
mabshoff@sage:/scratch/mabshoff/release-cycle/sage-3.1.2.alpha0$ ./sage ---------------------------------------------------------------------- | SAGE Version 3.1.1, Release Date: 2008-08-17 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: integrate(sin(x)*cos(10*x)*log(x)) (9*integrate(cos(11*x)/x, x) - 11*integrate(cos(9*x)/x, x) - 9*log(x)*cos(11*x) + 11*log(x)*cos(9*x))/198
So once we add a doctest we can close this ticket.
Cheers,
Michael
comment:5 Changed 5 years ago by mabshoff
- Summary changed from [fix in upstream Maxima] bug in integrate (found during a talk!) to [with patch, needs review] bug in integrate (found during a talk!)
Maxima returns a solution that is partially unevaluated, so merging this might or might not be a good idea.
Cheers,
Michael
Note: See
TracTickets for help on using
tickets.


This is also a Maxima bug: