安裝sympy模塊python
sudo apt-get install python-sympylinux
或spa
sudo pip install sympycode
求一個定積分orm
$ python Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from sympy import * >>> x = Symbol('x') >>> integrate(x*sin(x), (x, 0, 2*pi)) -2*pi >>>