📜  python计算函数的导数 - Python代码示例

📅  最后修改于: 2022-03-11 14:47:06.007000             🧑  作者: Mango

代码示例2
from sympy import Symbol, Derivative

x= Symbol('x')

function= x**4 + 7*x**3 + 8

deriv= Derivative(function, x)
deriv.doit().subs({x:4})