what is the derivative of a function code example
Example 1: python calculate derivative of function
from sympy import Symbol, Derivative
x= Symbol('x')
function= x**4 + 7*x**3 + 8
deriv= Derivative(function, x)
deriv.doit().subs({x:4})
Example 2: derivative of sqrt(x)
Line x 1
ax a
Square x2 2x
Square Root √x (½)x-½