Skip to content

Commit ef43891

Browse files
author
Jonathan Rocher
committed
Added symbolic integration with Sympy.
1 parent 91e1760 commit ef43891

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Sympy/integrate.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
""" Analytical computations with sympy
2+
"""
3+
import sympy
4+
from sympy.abc import a,b,c
5+
6+
y = 2*a+b**c
7+
print "Integral of y with respect to a:"
8+
print sympy.integrate(y, a)

0 commit comments

Comments
 (0)