Derivatives, Symbolic and Numeric in Python

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

your explanation with python. makes math become fun and easily to understand to people who like programming. :d

MuhammadAkbar-ijlm
Автор

Why you have taken 2.0?
Can i take any number instead of 2.0 in this derivative?

tomjerry
Автор

Thanks, that is what I was looking for, especially how to plot the derivative!

alice-gvue
Автор

Great explanation, this video really helped me.

noedelacruz
Автор

Ok but can you make it from scratch instead of a library import that does it for you? Really would love to see how to actually do it.

billh
Автор

After you got the symbolyic derivative (analytic, exact), how can you evaluate it at a numeric point, say at 2.0? That is, how do you transform it from sympy.core.numbers.One back to usual numbers?

alexanderminakov
Автор

Thanks. Very helpful. May I ask how we can effectively arrive at critical numbers of a derivative function using python?

viveksingal
Автор

How would you calculate the second derivative numerically?

Mbear
Автор

thanks a lot for the video!! it was really easy to follow

tute
Автор

what to do if i need derivate of a function that contains a imported function from openCV?

hansmuller
Автор

i have a probleme with the script i got this error : module script is not callable for the line with x= sp. symbol('x')
i don't get the probleme some body can help plz ?

theamazingagares
Автор

I am using Python 3 and Pycharm. I faced an error when I tried y=np.linspace(-3, 3)
plt.plot(y, f(y), label='Function') so I changed it into x=np.linspace(-3, 3)
plt.plot(x, f(x), label='Function') and it worked! I don't understand how did you overcome this error since y and f(y) weren't declared before in your code ...

makisJacob
Автор

I have a function that has 3 variables and when I calculate let's say derivative(f, x) the result is a function F(x, yz).So I need to put x, y, z as input to show something numerical and not only x.I am talking about partial derivatives.How can I define it and print it?Thank you

michaliskoumpanakis
Автор

for pycharm last line needs added 'plt.show()' for graph to appear

mitchellfolbe
Автор

Please help!! I alredy use your code, and it was all fine util "plt.plot(y, f(y)) give an error... i dont know how to solve it!!!

jackelinehernandez
Автор

This is really helpful ! Could you please explain on how i could parse the equation of something like 3-5 ln t to differentiate.

shankarfierce
Автор

Please Help me, thanks
from sympy import Symbol, Derivative
import numpy as np
x=Symbol('x')
y=2*np.power(x, 4)-3*np.power(x, 2)+2*x-20
y2=y.diff(x)
print(y2.__class__)
#When x has a value of -1, what is the value of the derivative?
f=Derivative((y, x, -1)).doit()
print(f)

yehjiannrong
Автор

What if there might be two turning points and I am not sure where they are close to?

frankelindddd
Автор

hi there i have another probleme
this method seems to not support the derivative of an exponential function how to proceed in that case cause i have this error" symbol object has no attribut exp"
thanks

theamazingagares
Автор

How can i enter the equation but through input, rather than inserting it through the code?

awwesomemoment