sympy/sympy — pull request #652 by mattpap (2011-10-12 05:16:21+00:00)
Title: Added support for truncated series to integrate() (#1732)

```
In [1]: series(sin(x), x, 0, 10)
Out[1]:
3 5 7 9
x x x x ⎛ 10⎞
x - ── + ─── - ──── + ────── + O⎝x ⎠
6 120 5040 362880

In [2]: integrate(_, x)
Out[2]:
2 4 6 8 10
x x x x x ⎛ 11⎞
── - ── + ─── - ───── + ─────── + O⎝x ⎠
2 24 720 40320 3628800

In [3]: diff(_, x)
Out[3]:
3 5 7 9
x x x x ⎛ 10⎞
x - ── + ─── - ──── + ────── + O⎝x ⎠
6 120 5040 362880
```