标签: python sympy differential-equations
使用sympy时遇到一些问题,这是我的代码:
from sympy import * import sympy as sp x=sp.Symbol('x') f=sp.Function('f')(x) diffeq = Eq(f.diff(x,x)-5*f,0) display(diffeq) dsolve(diffeq,f)