doctest fixed integral from Maxima
|Reported by:||kcrisman||Owned by:||burcin|
|Authors:||Ralf Stephan||Reviewers:||Travis Scrimshaw|
|Report Upstream:||N/A||Work issues:|
Description (last modified by )
This is fixed now and needs a doctest:
Boulemans left the chat room. (Read error: Connection reset by peer) [11:58am] Boule joined the chat room. [11:58am] Boule: (laptop shutdown due to power supply) [11:59am] Boule: e, T, w = var("e T w"); assume(1 = e^2)>0; integrate(cos(w+T)/(1+e*cos(T))^2,T,0,2*pi) should give -2*pi e cos w/(1-e^2)^3/2 instead of 0 [11:59am] Boule: can someone help? [12:00pm] wjp: yeah, sage seems to have some trouble with this integral. You could try http://groups.google.com/group/sage-support since the right people don't seem to be here currently [12:00pm] Boule: ok, thanx [12:08pm] kcrisman: By the way, I just tried this and get a hang in Maxima. Can you type the exact commands which lead to an answer of 0? [12:08pm] kcrisman: If I plug something (.5, .75) in for e in Maxima in Sage, I do get zero as an output. [12:12pm] Boule: don't know maxima, but with numerical values for e and w at wolfram-alfa, it gives something different than 0 [12:13pm] wjp: *nod* maple gives non-zeros too [12:13pm] kcrisman: Can you give the *exact* sequence of commands which yield zero in Sage itself? [12:14pm] Boule: e = var('e') [12:14pm] Boule: T = var('T') [12:14pm] Boule: w = var('w') [12:14pm] baali1 joined the chat room. [12:14pm] baali left the chat room. (Quit: Leaving.) [12:15pm] Boule: assume(1-e^2>0) [12:15pm] Boule: integrate(cos(w+T)/(1+e*cos(T))^2,T,0,2*pi) [12:15pm] kcrisman: Okay, that's what I thought. [12:16pm] kcrisman: Okay, it takes a while but I do get 0.
Change History (29)
comment:9 Changed 6 years ago by
- Report Upstream changed from Not yet reported upstream; Will do shortly. to Fixed upstream, but not in a stable release.
comment:18 Changed 2 years ago by
- Report Upstream changed from Fixed upstream, but not in a stable release. to Fixed upstream, in a later stable release.
comment:19 Changed 22 months ago by
- Description modified (diff)
- Summary changed from Incorrect integral from Maxima to doctest fixed integral from Maxima
comment:21 Changed 22 months ago by
- Commit set to fab73690cd00e86c063be62e578a502267e7db94
- Status changed from new to needs_review
comment:23 Changed 4 months ago by
- Branch changed from u/rws/doctest_fixed_integral_from_maxima to u/rws/8728
comment:24 Changed 4 months ago by
- Commit changed from fab73690cd00e86c063be62e578a502267e7db94 to d4b0db584bb2b67b46a8508058dab4dc731fbbce
- Milestone changed from sage-6.4 to sage-7.4
- Report Upstream changed from Fixed upstream, in a later stable release. to N/A
- Status changed from needs_work to needs_review
comment:25 Changed 4 months ago by
- Reviewers set to Travis Scrimshaw
- Status changed from needs_review to positive_review
comment:26 Changed 4 months ago by
- Branch changed from u/rws/8728 to d4b0db584bb2b67b46a8508058dab4dc731fbbce
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.