These videos are awesome. I modified your code to meet my needs and it helped a lot. I wish TH-cam had a rating system. I would rate contents on your channel 10 out 10. Again, thank you.
The for loop is not required in this example but it is used in subsequent modules (such as PID) where the u(t) value depends on the y(t) value from the prior time step.
You can compute an analytic / symbolic solution where the initial condition is a variable. If you want a graph then the initial condition needs to be a specific number.
Thank you for wonderful lecture! I wonder what if can solve ODEs which is k(coefficient) is function for example function of temperature and there are equation for temperature too
Yes, that is possible. Please see examples at apmonitor.com/pdc/index.php/Main/SolveDifferentialEquations and apmonitor.com/pdc/index.php/Main/PythonDifferentialEquations You can include the expression k(T) function (or equation) in the section that defines the derivatives.
Llevo 3 días haciend un puto ejercicio y me lo has resuelto con lo de args=(x,), estaba intentando usar unos datos pedidos por el usuario para calcular dy/dt y devolver y = (model,y0,t..) con esos datos. GRACIAS.
These videos are awesome. I modified your code to meet my needs and it helped a lot. I wish TH-cam had a rating system. I would rate contents on your channel 10 out 10. Again, thank you.
Is it possible to show x-y points from the plot or the function that describes the line?
Yes, use something like ‘ro’ for the style.
can you explain why for the example 2 and the last example they both have a u(t) input, but a for loop is required for the last example?
The for loop is not required in this example but it is used in subsequent modules (such as PID) where the u(t) value depends on the y(t) value from the prior time step.
it is possible to graphically represent a differential equation without having the initial conditions in jupyter or colab ?
You can compute an analytic / symbolic solution where the initial condition is a variable. If you want a graph then the initial condition needs to be a specific number.
what would you put if the initial condition is not 0? ie if the condition is when x=pi, y=0
One of the arguments to odeint is the initial condition. You can change it to whatever value is needed.
Thank you for wonderful lecture! I wonder what if can solve ODEs which is k(coefficient) is function for example function of temperature and there are equation for temperature too
Yes, that is possible. Please see examples at apmonitor.com/pdc/index.php/Main/SolveDifferentialEquations and apmonitor.com/pdc/index.php/Main/PythonDifferentialEquations You can include the expression k(T) function (or equation) in the section that defines the derivatives.
I have a doubt . Is it possible to solve x when I have a symbolic derivative dy/dx=0 and dy/dx is in terms of x only.
You would need to translate the symbolic derivative yourself or else use eval() to translate into a string expression that can be evaluated by Python.
APMonitor.com
translate? Could you be more specific, sir? I have been banging my head over this for some time.
@@abdulrahimshihabuddin1119 try these tutorials first: apmonitor.com/pdc/index.php/Main/SolveDifferentialEquations
Thank you!
Nice tutorial
Thanks for this tutorial. Can you help to plot the nonlinear system of ODE with reaction-diffusion term?
I don't have that specific example but here are some additional related tutorials: apmonitor.com/che263 and apmonitor.com/pdc
@@apm Thank you for sharing, I'll go through these, if it can help.
Thank you
Llevo 3 días haciend un puto ejercicio y me lo has resuelto con lo de args=(x,), estaba intentando usar unos datos pedidos por el usuario para calcular dy/dt y devolver y = (model,y0,t..) con esos datos. GRACIAS.
Can you do a video on Bit error rate manupilation in python?