Opened 2 years ago
Last modified 17 months ago
#24316 new defect
integrate gives wrong result when using maxima
Reported by: | stassev | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-8.1 |
Component: | symbolics | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
I'm using sage 8.0. Here is what I get:
sage: b,c,d=var('b c d') sage: integrate(sqrt(b*cos(x)^2 + c*sin(x)^2 + 2*d*sin(x)*cos(x)), x, 0, 2*pi,algorithm='maxima') -1/2*pi*b
That answer cannot possibly be correct, as the integrand is symmetric in b and c (you can substitute x with pi/2-x ...). Checking the answer numerically shows that it is indeed wrong.
Change History (2)
comment:1 Changed 2 years ago by
- Type changed from PLEASE CHANGE to defect
comment:2 Changed 2 years ago by
Note: See
TracTickets for help on using
tickets.
See also #18599, #18821, #24117.