Pendulum Motion in PYTHON

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 38

  • @aliexpress.official
    @aliexpress.official 3 года назад +27

    I cant explain how much I appreciate this channel. It's making me a better physicist and you make it look so cool

  • @srijayadhikari
    @srijayadhikari 2 года назад +1

    I recently finished an assignment to visualise the lagrangian of a simple pendulum by plotting the odeint solution along with the hands-on mathematical solution of the second degree diff equation. I loved the way you put the animations. I'm gonna try it as well!

  • @bingodeagle
    @bingodeagle 3 года назад +2

    wow this is amazing, I recently undertook a long project for my degree based entirely on numerically integrating the 3 body problem, finding this out now makes me wonder how much time I could have saved just using sympy. Thanks so much for this content!

  • @opendebate
    @opendebate 3 года назад +6

    Damn boy. Keep up the good work!

  • @renegaed
    @renegaed 3 года назад

    Best channel on physics, engineering and python! A real treasure trove.

  • @allenjackson1417
    @allenjackson1417 2 года назад

    Thanks for your videos! Although I am now retired, I am just having fun working physics problems, and your videos are incredibly helpful.

  • @AJ-et3vf
    @AJ-et3vf 3 года назад +1

    Awesome! I love the animations! Definitely hope to do animations too myself. As always, great content.

  • @christophekapuschenski7723
    @christophekapuschenski7723 3 года назад +2

    Looking forward to your 1K and 1M subs videos

  • @BigPython
    @BigPython 3 года назад +8

    Saving the trees with SymPy :D

  • @maurocruz1824
    @maurocruz1824 2 года назад

    Quality at its maximum. Thx.

  • @borko6066
    @borko6066 3 года назад +1

    You are amazing! I love this

  • @gustavopazrequejo6691
    @gustavopazrequejo6691 3 года назад

    New subscriber here, appreciate a lot your videos (already in the discord channel) keep going

  • @dPhi_dTau
    @dPhi_dTau 3 года назад +1

    Excellent video

  • @lioneloddo
    @lioneloddo 2 года назад +1

    At 8:30, the order of the terms are not keeped, the m and the g are inverted.
    Is there a way to avoid this ?
    Thanks for yours video. Very very useful.

  • @hoc20phutmoingay8
    @hoc20phutmoingay8 3 года назад

    I like the video so much.

  • @luisruiz-ie3dm
    @luisruiz-ie3dm Год назад

    how would you go about plotting theta dot vs theta inorder to obtain the phase space of these motions?

  • @johnwu5908
    @johnwu5908 3 года назад

    Amazing video

  • @robellish
    @robellish 2 года назад

    Thank you for your video. How can we use other numerical solvers such as RK45, ODE45 , besides odeint. can you please give us some recommendation?

  • @jtong8205
    @jtong8205 Год назад

    Help me, please. Instead of showing a proper d(theta)dt, it shows Derivative(\theta(t), t) instead.

  • @P4trickJ4mes
    @P4trickJ4mes 2 года назад

    great video, how would i add a dissipation function?

  • @udomtipparach4894
    @udomtipparach4894 3 года назад

    Wonderful

  • @asimdahal3249
    @asimdahal3249 Год назад

    How do you get output in beautiful LATEX form? It doesn't happen when I do it.

  • @mprencipe
    @mprencipe 2 года назад

    I was trying to compute kinetic energy by lambdifying the expression for T (getting T_f). I got no error when I did the lambdification, but when I invoked T_f with the appropriate parameters I got the error name 'Derivative' is not defined. What to do?

  • @HamzaAsif-o9v
    @HamzaAsif-o9v 9 месяцев назад

    how did you learn to to do that?!!
    I want to do that too!

  • @emersoncpp
    @emersoncpp 3 года назад

    Very nice work! Congrats!
    I don't know if you've been through this but I'm having the following error when calling the lambdify method:
    deriv2_f = smp.lambdify((g, the, the_d), deriv_2)
    File "", line 1
    lambda _Dummy_168,_Dummy_169,Derivative(\theta(t), t): (0.25*(-_Dummy_168 + 4.0*Derivative(_Dummy_169, t)**2)*tan(_Dummy_169))
    ^
    SyntaxError: invalid syntax

  • @ahmednafisfarhan3548
    @ahmednafisfarhan3548 3 года назад +2

    Can you please post the code?

    • @MrPSolver
      @MrPSolver  3 года назад +2

      I've updated the video description and posted a link

    • @ahmednafisfarhan3548
      @ahmednafisfarhan3548 3 года назад +1

      @@MrPSolver Thank you man, you are amazing!

  • @perlindholm4129
    @perlindholm4129 3 года назад

    What about an absolut() curve pendelum? Something about the derivative from math

    • @perlindholm4129
      @perlindholm4129 3 года назад

      I wondered during continuum mechanics if particles were used as random init matrices for a calculated path through difficulties //Per

  • @yashshukla3865
    @yashshukla3865 3 года назад

    You know you are doing awesome things on youtube, but it's hurting me so bad that you could not get the same amount of views that one would get with the shity stuff they are doing.