Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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})

Source by www.learningaboutelectronics.com #
 
PREVIOUS NEXT
Tagged: #python #calculate #derivative #function
ADD COMMENT
Topic
Name
3+9 =