Man you are a blessing. Thank you a million. Can you please just recommend a perfect starting point to learn differential equations for a beginner from 0 to 1 , with the same level of depth, clarity and and an ultimate goal to master the all the variety of diff equations to the highest level possible. Thank you kindly again
Hello! Great videos. I really appreciate the help. Perhaps it is worth mentioning that the chaotic behavior of the ODE in the case of the double pendulum will cause numerical error to accumulate exponentially fast in any simulation.
Whoa, wonderful job! I’ve been working on the same problem with Maxima. The process is essencially the same. I’ve been expanding the program to deal with generic number of multiplicity of the pendula. But the burden of symbolic manipulation of differential equations grew above the capacity of my computer when the number of bobs was larger than 4. I think I should try to attack the problem in colab with sympy. Great thanks for sharing!
I'm trying to replicate, and I've got one little ugly problem: sympy outputs are not wrapped into multiple lines like he has for cell 24, 27, etc. I get one loooong line I have to scroll through. Anyone faced that problem ?
really good video, thanks a lot. although I must admit I arrived hoping for some insight into the physics.mechanics module of sympy. Are there any reasons you choose to do things this way? I also use sympy like you did in the video, but I'm interested in knowing if there are any advantages on learning the whole sympy.physics.vectors and .mechanics, over just implementing the sympy variables and functions like this anyway, you just earned a follower, greetings from Argentina!
very nice explaination, I tried using the same principle to simulate a double inverted cart pole. After adding and modifiying the equations to include a cart and its movement and the force applied on it , but I faced an error when trying to use odeint the way you explained in the video. any tips?
Hello. Sorry about my ignorance. I don't actually know much about programming but I had a question if it is all right with you. Did you solve the Euler Lagrange equations using the Runge Kutta method? If not then is there to just immediately employ the Runge Kutta method to the Lagrange's of motion without deriving them first on python. Thank you.
If your animation isn't working at the end, check the second last line, try changing it to: ani = matplotlib.animation.FuncAnimation(fig, animate, frames=1000, interval=50)
list index out of range 'tuple' object is not callable i got these errors in the last line of code "ani.save('double_pendulom.gif',writer='pillow',fps=25)" . so could not run see the animation. apart from that everything was fine.
Awesome! Immediately saw this right now on being uploaded and immediately watched. Once again, very nice and inspiring. Now next do a spherical double pendulum 😁😁😁 haha jk.
This is exactly what i was looking for. Thank you for the amazing tutorial and explanation!
You're a very good teacher. Thanks for this.
Would there be any future video on FEM on Python?
Man you are a blessing. Thank you a million. Can you please just recommend a perfect starting point to learn differential equations for a beginner from 0 to 1 , with the same level of depth, clarity and and an ultimate goal to master the all the variety of diff equations to the highest level possible. Thank you kindly again
I think for next week I'll make an entire video just about differential equations in python.
@Mr. P Solver Brilliant. Am sure it will be mesmerising. Thanks
@@MrPSolver can’t wait!!!
Mr. P Solver uploaded a new video... This day just becomes better :) Double pendulum - absolute classics! Thanks, man!
Hello! Great videos. I really appreciate the help. Perhaps it is worth mentioning that the chaotic behavior of the ODE in the case of the double pendulum will cause numerical error to accumulate exponentially fast in any simulation.
Whoa, wonderful job! I’ve been working on the same problem with Maxima. The process is essencially the same. I’ve been expanding the program to deal with generic number of multiplicity of the pendula. But the burden of symbolic manipulation of differential equations grew above the capacity of my computer when the number of bobs was larger than 4. I think I should try to attack the problem in colab with sympy. Great thanks for sharing!
I'm trying to replicate, and I've got one little ugly problem: sympy outputs are not wrapped into multiple lines like he has for cell 24, 27, etc. I get one loooong line I have to scroll through. Anyone faced that problem ?
really good video, thanks a lot. although I must admit I arrived hoping for some insight into the physics.mechanics module of sympy. Are there any reasons you choose to do things this way? I also use sympy like you did in the video, but I'm interested in knowing if there are any advantages on learning the whole sympy.physics.vectors and .mechanics, over just implementing the sympy variables and functions like this
anyway, you just earned a follower, greetings from Argentina!
very nice explaination, I tried using the same principle to simulate a double inverted cart pole. After adding and modifiying the equations to include a cart and its movement and the force applied on it , but I faced an error when trying to use odeint the way you explained in the video. any tips?
You might consider making a video that could use a PID to get the pendulum holding upright? Not sure if PID works for that or not
Have you found a way?
Hello. Sorry about my ignorance. I don't actually know much about programming but I had a question if it is all right with you. Did you solve the Euler Lagrange equations using the Runge Kutta method? If not then is there to just immediately employ the Runge Kutta method to the Lagrange's of motion without deriving them first on python.
Thank you.
You are awesome, thank you very much for your work
Thank you so much!!
Very helpful!
incredible video, i learnt a lot. thank you.
Thank you so much for such a nice presentation. It was greatly helpful. Could you also go through plotting time and energy of the system?(E=T+V)
Wouldn’t that be constant? Assuming we ignore air resistance
Great explanation, thanks a lot.
is there a reason not to simplify the expressions for the second derivatives?
High quality stuff here😮
If your animation isn't working at the end, check the second last line, try changing it to:
ani = matplotlib.animation.FuncAnimation(fig, animate, frames=1000, interval=50)
Awesome video. I'll give this a try to practice.
Maybe the next video is about adding friction in the joints? 🤔
This is a fantastic idea! Definitely will show up in a future video
could you do one on solving kepler problem?
Hi, thank you so much for this. I was wondering, what do simplify=false and rational=false mean? Thank you in advance
Nice video! A doubt - How to trace the path of the two pendulums?? i.e. How to make their path visible?
I'm coding it as I'm watching. Planning to impress my friends lol
Great video and excellent git
list index out of range
'tuple' object is not callable
i got these errors in the last line of code "ani.save('double_pendulom.gif',writer='pillow',fps=25)" . so could not run see the animation. apart from that everything was fine.
I had the same issue. My fix was that I made a spelling error in my animate function. After I fixed that it worked perfectly
@@gerrievanstaden3416
Thanks bro i will lookinto that
Awesome! Immediately saw this right now on being uploaded and immediately watched. Once again, very nice and inspiring.
Now next do a spherical double pendulum 😁😁😁 haha jk.
Looks like 3 body problem. Also has 3 points.
22:22 friction¿
What a great video )))
love from outerspace
why is my animation not moving?
Awesome
nice
your face takes up quite a bit of the screen, blocking anything behind it
7:51