Updates:
Status: Accepted
Labels: Integration Series
Comment #1 on issue 1732 by asmeurer: integrate(sin(x).series(x)) gives
traceback
http://code.google.com/p/sympy/issues/detail?id=1732
The problem is of course with the Order term.
In [3]: integrate(O(x**6), x)
...
AttributeError: 'NoneType' object has no attribute 'total_degree'
I'm not to sure. Is it safe to say that integrate(O(x**n), x) == O(x**(n +
1))? I know you can't do the reverse with differentiation, because the
derivative of a function can be unbounded even when the function is bounded
(consider sin(x**n), which itself is O(1) but who's derivative is O(x**(n -
1))). But intuitively, it seems like integration might be different
because you are limited by the area under the curve.
Otherwise, this shouldn't work without calling .removeO() first (though it
needs a better exception).
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.