Changes between Initial Version and Version 10 of Ticket #11164


Ignore:
Timestamp:
Jun 23, 2014, 6:31:03 PM (8 years ago)
Author:
Travis Scrimshaw
Comment:

In 6.3.beta4 (so with #13973), I get:

sage: eq = sin(x) / x
sage: integrate(eq, x, -1e-6, 1e-6)
-I*Ei(1/1000000*I) + I*Ei(-1/1000000*I)
sage: _.n()
3.14159465358979
sage: integrate(eq, x, -1e-12, 1e-12)
-I*Ei(1/1000000000000*I) + I*Ei(-1/1000000000000*I)
sage: _.n()
3.14159265359179

Something bad happens with the integration computation when crossing over 0 as we have:

sage: integrate(eq, x, 1e-12, 1e-6)
-1/2*I*Ei(1/1000000*I) + 1/2*I*Ei(1/1000000000000*I) - 1/2*I*Ei(-1/1000000000000*I) + 1/2*I*Ei(-1/1000000*I)
sage: _.n()
9.99999000050877e-7

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11164

    • Property Status changed from new to needs_info
    • Property Component changed from PLEASE CHANGE to calculus
    • Property Priority changed from minor to major
    • Property Report Upstream changed from N/A to Fixed upstream, in a later stable release.
    • Property Owner changed from tbd to Burcin Erocal
  • Ticket #11164 – Description

    initial v10  
    11{{{
    22> eq = sin(x)/x
    3 > integrate(eq, x, -1e-6, 1e6)
     3> integrate(eq, x, -1e-6, 1e-6)
    44-3.14159065359
    55}}}