How to Solve Coupled Differential Equations ODEs in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ธ.ค. 2024

ความคิดเห็น • 50

  • @IKMCDANIEL
    @IKMCDANIEL 2 ปีที่แล้ว +4

    Vincent - you have real talent. You explained a tremendous amount of technical content in just 10min. Very well done and very helpful. Thank you so much for creating this content.

    • @VincentStevenson
      @VincentStevenson  2 ปีที่แล้ว

      Thank you for your kind words, I appreciate it!

  • @ospectrum
    @ospectrum 3 ปีที่แล้ว +4

    Thank you so much, I am currently working on a paper of population dynamics, and your video literally saved me a ton of time!

    • @4amoats
      @4amoats 2 ปีที่แล้ว

      hey, just checking up on you

  • @rajanalexander4949
    @rajanalexander4949 2 ปีที่แล้ว

    Concise and useful; thank you!
    I would just comment/say that we're assigning each _vector element_ to a _variable_ @ 3:03. The ODEs themselves are represented by the dXdt assignments.

  • @ammarshahzad9627
    @ammarshahzad9627 2 ปีที่แล้ว +1

    Hello mate, I was searching R_2_score and found your channel. I saw your multi disciplinary videos and I am amazed by your content. You have mastery over alot of fields and have the gift of teaching. Subscribed instantly, hope you will gain the recognition you deserve.

  • @dotpio8246
    @dotpio8246 2 ปีที่แล้ว +1

    This was so helpful. Straightforward, straight to the point, and really easy to understand. Thank you Vincent!!

  • @chasefoxen
    @chasefoxen 10 หลายเดือนก่อน

    Fantastic explanation, this helped me a ton with my numerical analysis homework. Straight to the point and clear!

  • @pineapple5923
    @pineapple5923 ปีที่แล้ว

    Thank you so much. Better than my professor by a mile!

  • @ibrahimaniakh4447
    @ibrahimaniakh4447 2 ปีที่แล้ว

    JUST EXCELLENTLY EXPLAINED. EXCELLENT, EXCELLENT, EXCELLENT. I’m immediately subscribing bruh.

  • @joaocruz9048
    @joaocruz9048 3 ปีที่แล้ว

    Thank you, Vicent! I was with difficult on working with more than one initial conditions and this video is really helpful.

  • @schrodingergaming7
    @schrodingergaming7 2 ปีที่แล้ว

    That's a very good solution in a small time frame! Great job!

  • @yogeshwarthakare8356
    @yogeshwarthakare8356 ปีที่แล้ว

    Hi, this was so useful. Would like to see more such videos on solving kinetic model using Python

  • @matts2565
    @matts2565 10 หลายเดือนก่อน

    This video saved my life, thanks boss!!

  • @AtreyaSrivallabhVedantamee22b0
    @AtreyaSrivallabhVedantamee22b0 ปีที่แล้ว

    Thank you for this video, it was extremely well explained. It was incredibly useful to me.

  • @hasatamashi
    @hasatamashi 3 ปีที่แล้ว +1

    Great video, great voice, really helpful

  • @animeshsinghal3405
    @animeshsinghal3405 2 ปีที่แล้ว

    Thanks a lot. You got me started with this very quickly.

  • @edholanda5897
    @edholanda5897 3 ปีที่แล้ว +3

    Professor how would I solve this system of first order edos numerically by plotting the graph for the different values ​​of (n). the derivatives are in relation to ha (r).
    a'/r = -e^2*v^2*(g^2 - 1)
    g' = - a*g/r
    given the boundary conditions
    a(0) = n a(inf)=0
    g(0) = 0 g(inf)=1
    o (n) varies from 1 to 8.
    where (e)=0.5 and (v)=1 are constant. please give a helping hand there, I looked for and did not find any problems like this on the python website.
    I'm from Brazil.

  • @fannumber122
    @fannumber122 3 ปีที่แล้ว +1

    Perfect explanation thank very much.

  • @trumpetjonny5783
    @trumpetjonny5783 5 หลายเดือนก่อน

    Nice, thank you so much 🙂

  • @zishanshaikh3029
    @zishanshaikh3029 2 ปีที่แล้ว

    Very helpful , mate , cheers !!

  • @saswatipal7280
    @saswatipal7280 2 ปีที่แล้ว

    Awesome! thank you. you saved me a big time.

  • @thickeyebrows1981
    @thickeyebrows1981 ปีที่แล้ว

    Wonderful video!

  • @anandamoymukhopadhyay5158
    @anandamoymukhopadhyay5158 10 หลายเดือนก่อน

    Vincent you have explained the code nicely within a short span of time. If the above system contains some arbitrary parameters, then please explain how to deal with it by the help of continuation method? Waiting for your reply.

  • @XboxGamersAndMore
    @XboxGamersAndMore 2 ปีที่แล้ว

    Great vid, very helpful, thank you

  • @omurwaAfrica
    @omurwaAfrica 3 ปีที่แล้ว +1

    This is helpful. Thank you.

  • @Onlinefizik
    @Onlinefizik 6 หลายเดือนก่อน

    Very good,Thanks

  • @RanjibBanerjee
    @RanjibBanerjee ปีที่แล้ว

    Hi Vincent, thank you for such a nice video, it's extremely useful. I was wondering if you can make a video to calculate the Lyapunov exponents of coupled nonlinear ODEs.
    Thank you

  • @lordyabo9910
    @lordyabo9910 ปีที่แล้ว

    guys I tried to copy his code word for word and run the code, but I got nothing. Can someone give me advice on what should I do. Btw im using pydroid 3

  • @AF-ge4pe
    @AF-ge4pe 2 ปีที่แล้ว

    what if they are coupled odes but with parameters that im asked to define with runge kutta 4th order

  • @carolina2066
    @carolina2066 2 ปีที่แล้ว

    this is very nice and helpful thanks a lot :))

  • @Elpidio1000
    @Elpidio1000 2 ปีที่แล้ว

    Thank you so much dude.

  • @mohamedvadhelebnououmar8779
    @mohamedvadhelebnououmar8779 2 ปีที่แล้ว

    Thanks, very helpful

  • @bryanlay5215
    @bryanlay5215 3 ปีที่แล้ว +1

    What if there’s an error saying list object not callable?

    • @VincentStevenson
      @VincentStevenson  3 ปีที่แล้ว +1

      I would double check to make sure when you create the class object, you have the () in place before calling the object after.

  • @lonemeertens7021
    @lonemeertens7021 ปีที่แล้ว

    Hi Vincent, thank you for this video. I have a follow up question :) What if I have (in one of the equations) a parameter (instead of a constant) that is linked to a algebraic equation that itself is also dependend on this parameter. Can some one help me? Thanks!!

  • @shivathapa3934
    @shivathapa3934 ปีที่แล้ว

    Hi sir. What if there was a second order derivative in the first equation (d^2A/dt^2)? What modification would be needed in the code?

    • @analuciavillelaloaiza8930
      @analuciavillelaloaiza8930 ปีที่แล้ว

      Kinda late, but you would need to do a substitution to make two first order edos instead of one of second order. Like: u=dA/dt & du/dt=d2A/dt2.

  • @raulfuerte5512
    @raulfuerte5512 3 ปีที่แล้ว

    Hi Vincent. This was an amazing demo of using python's IVP solver. For a school project I was wondering if you could make a video showing how to use python to solve BVPs with a combination of Neumann and Dirichlet boundary conditions.

  • @rodrigocesarraimundo3316
    @rodrigocesarraimundo3316 ปีที่แล้ว

    Amazing!

  • @minhtu5059
    @minhtu5059 2 ปีที่แล้ว

    Thank you so much!!!

  • @h.a.3030
    @h.a.3030 3 ปีที่แล้ว

    First thank you for this simple well explained video,i'm actually working on the same model dynamics, i am wondering if you can help me for example to see the evolution of just one variable with respect to a changing parameter, i tried to use a loops, but i can't get to the results I'm expecting! TIA for any help.

  • @jowadulkader9006
    @jowadulkader9006 3 ปีที่แล้ว +1

    thank you sir

  • @mehrdadkazemi3969
    @mehrdadkazemi3969 2 ปีที่แล้ว

    Thank you so much

  • @MsJennifervelazquez5
    @MsJennifervelazquez5 2 ปีที่แล้ว

    thanks, you awesome

  • @ponho9715
    @ponho9715 3 ปีที่แล้ว +2

    Thanks :D

  • @lunthangify
    @lunthangify 2 ปีที่แล้ว

    p = odeint(odes,r0,θ0,ϕ0,x0,z0,t)
    NameError: name 'r0' is not defined

  • @Novoselova.Polina
    @Novoselova.Polina ปีที่แล้ว

    thank you! really helpful