Model and Simulate Elastic Pendulum in Python (Lagrangian Mechanics)

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

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

  • @StonedBored
    @StonedBored 8 месяцев назад +2

    Thanks for the video and explanation man! I wish I had this available 8 years ago.

  • @Daniboy370
    @Daniboy370 6 месяцев назад +1

    Your videos are stunning

  • @Clipaholick
    @Clipaholick 8 месяцев назад +1

    This is sick! Great video, I like how you also went into the math as well :}.

    • @logandihel
      @logandihel  8 месяцев назад

      Thanks! More to come soon!

  • @AllRounder-vc1yl
    @AllRounder-vc1yl 8 месяцев назад +1

    Great 👍 video , make video like this

  • @riccvven2078
    @riccvven2078 8 месяцев назад +1

    brilliant; too bad channel seems bad, hope you'll make more

  • @makdavian3567
    @makdavian3567 8 месяцев назад +1

    Assuming total length to be L, is the Lcos theta pointing down and Lsin theta pointing towards right? So y is negatiive and x is positive?

    • @logandihel
      @logandihel  8 месяцев назад

      Yes, but only because we defined the origin to be at the pivot, with the x axis to the right and the y axis vertical, and theta being counterclockwise from the downward position.
      So at resting position, x is zero and y is negative. At 0 < theta < pi/2, x >0 and y

  • @hariharanramamurthy9946
    @hariharanramamurthy9946 8 месяцев назад

    Hi, can you use statespace method next time , for any other system, I could see you use diff equation, which I could follow up easily, but for controls part, I am dealing with state space matrices, thanks for the content , very intuitive

    • @logandihel
      @logandihel  8 месяцев назад

      You can convert any ordinary differential equation into a state space model. You just need to choose your state variables as theta, theta_dot, ell, and ell_dot

    • @hariharanramamurthy9946
      @hariharanramamurthy9946 8 месяцев назад

      @@logandihel yeah doing that now, thanks for the info

    • @hariharanramamurthy9946
      @hariharanramamurthy9946 8 месяцев назад

      hi logan, I have a doubt ,I am trying to solve a nonlinear differential equation, I am looking for closed solution as a function of time , I couldn't solve with dsolve in sympy, raising error->" cannot be solved by the factorable group method "
      using scipy integrate gives me the array of t and q(differential parameter) values, I want to simulate the model for t-> tends to infinity, how can I do that?

    • @logandihel
      @logandihel  8 месяцев назад +1

      You can very rarely solve a nonlinear system. Most of the time it is actually impossible (like for the pendulum). You need to simulate starting with some initial conditions

  • @AJ-et3vf
    @AJ-et3vf 8 месяцев назад

    Very low volume