In [1]:
import sympy
from sympy import sin, exp
In [2]:
x = sympy.Symbol('x')
In [3]:
print(sympy.diff(sin(x)))
In [4]:
print(sympy.diff(exp(x)))