Differences between revisions 2 and 3
 ⇤ ← Revision 2 as of 2008-11-15 13:59:48 → Size: 263 Editor: localhost Comment: converted to 1.6 markup ← Revision 3 as of 2013-04-19 03:27:06 → ⇥ Size: 981 Editor: asmeurer Comment: Update the page a little bit Deletions are marked like this. Additions are marked like this. Line 3: Line 3: Homepage: http://code.google.com/p/sympy/ {{http://sympy.org/media/logo.png}}Homepage: http://sympy.org/Source Code: http://github.com/sympy/sympyMailing list: https://groups.google.com/forum/?fromgroups#!forum/sympy== Examples =={{{>>> from sympy import *>>> x, y, z, t = symbols('x y z t')>>> k, m, n = symbols('k m n', integer=True)}}}{{{>>> integrate(exp(x)*x**2, x)⎛ 2 ⎞ x⎝x - 2⋅x + 2⎠⋅ℯ}}}{{{>>> expand((x + y)**3) 3 2 2 3x + 3⋅x ⋅y + 3⋅x⋅y + y>>> factor(_)       3(x + y)}}}{{{>>> Sum((-1)**n*x**n/factorial(n), (n, 0, oo))  ∞ ____ ╲  ╲ n n   ╲ (-1) ⋅x   ╱ ────────  ╱ n! ╱ ‾‾‾‾n = 0>>> _.doit() -xℯ}}}

SymPy is a symbolic manipulation package, written in pure Python. Its aim is to become a full featured CAS in Python, while keeping the code as simple as possible in order to be comprehensible and easily extensible.

Homepage: http://sympy.org/

Source Code: http://github.com/sympy/sympy

## Examples

```>>> from sympy import *
>>> x, y, z, t = symbols('x y z t')
>>> k, m, n = symbols('k m n', integer=True)```

```>>> integrate(exp(x)*x**2, x)
⎛ 2          ⎞  x
⎝x  - 2⋅x + 2⎠⋅ℯ```

```>>> expand((x + y)**3)
3      2          2    3
x  + 3⋅x ⋅y + 3⋅x⋅y  + y
>>> factor(_)
3
(x + y)```

```>>> Sum((-1)**n*x**n/factorial(n), (n, 0, oo))
∞
____
╲
╲       n  n
╲  (-1) ⋅x
╱  ────────
╱      n!
╱
‾‾‾‾
n = 0
>>> _.doit()
-x
ℯ```

SymPy (last edited 2013-04-19 03:27:06 by asmeurer)

Unable to edit the page? See the FrontPage for instructions.