Euler's Method for Approximating Differential Equations [ +Python Insights ]

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • Get yourself a 2 MONTH FREE PREMIUM TRIAL by using Daddy's special link skl.sh/flammab... :)
    The worked Example: • Video
    DE Playlist: • Separable Differential...
    This Video has been sponsored by Skillshare! =D
    Today we are going to introduce euler's method for solvig first degree DE's! Using the difference quotient and interpreting as the discrete h-derivative is going to be a very useful tool here in deriving this recursive algorithm!
    Source Code #1: www.pastiebin....
    Source Code #2: www.pastiebin....
    Help me create more free content! =)
    / mathable
    Merch :v - teespring.com/...
    www.amazon.com...
    shop.spreadshi...
    2nd Channel: / @rockhardwooddaddy
    --------------------------------------------------------------------------------
    Wanna send me some stuff? lel:
    Postfach 60 06 03
    14406 Potsdam
    Brandenburg
    Germany
    --------------------------------------------------------------------------------
    My Website: www.papaflammy...
    Instagram: / flammablemaths
    Flammy's subreddit: / flammybois
    Twitter: / flammablemaths
    Facebook: / flammablemaths
    Got some time to spare? Make sure to add captions to my videos! =) www.youtube.com...
    Want to know more about me? Watch my QnA! =D • Question and Answer Ti...

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

  • @jackcarr45
    @jackcarr45 5 лет назад +68

    "Oh boi papi is going to love this :v"
    - Wheeler, 1755

    • @Blox117
      @Blox117 5 лет назад +10

      who is this "wheeler" you speak of? are you perhaps referring to the famous mathematician Yooler?

    • @ffggddss
      @ffggddss 5 лет назад +1

      @@Blox117 Yule log?
      Fred

  • @non-inertialobserver946
    @non-inertialobserver946 5 лет назад +66

    When your code works after only the 58th try:
    "Sometimes my genius is... it's almost frightening"

  • @allaincumming6313
    @allaincumming6313 5 лет назад +43

    Now engineers and physicists can congratulate, not only constants and functions can be approximated.

    • @Blox117
      @Blox117 5 лет назад +2

      whut do ya meen, theres nothin wrong with approximatin my spellin or muh mathuhmatics *plane wings fall off and buildings collapse in background*

    • @allaincumming6313
      @allaincumming6313 5 лет назад +4

      @@Blox117 _What? Error term? I don't understand that mathematician shit_ *continues using only the first Taylor term*

    • @duncanw9901
      @duncanw9901 5 лет назад +2

      *laughs ass off in runge-kutta*

  • @benjaminbrady2385
    @benjaminbrady2385 5 лет назад +27

    Only real g's know that it was actually archimedes who invented differential calculus but then a monk destroyed the document describing it

    • @sw3aterCS_
      @sw3aterCS_ 5 лет назад +3

      Given some Medieval scholars’ adverse reaction to infinitesimals, this makes a lotta sense.

    • @duncanw9901
      @duncanw9901 5 лет назад +1

      @@sw3aterCS_ in their defence it took ol' wierstrau🅱️ to make the things rigorous

  • @yonatanh8722
    @yonatanh8722 5 лет назад +12

    15:25
    The error is actually getting bigger with every iteration

  • @wompastompa3692
    @wompastompa3692 5 лет назад +6

    Python? Nah son, just pull up a spreadsheet, define a few cells, and have fun dragging the formulae for thousands of lines.

  • @benjaminbrady2385
    @benjaminbrady2385 5 лет назад +10

    Sorry, I don't use that virgin python shit. I only use C or certain assemblys

    • @duncanw9901
      @duncanw9901 5 лет назад +5

      If you didn't bootstrap the compiler yourself, is it really C?

    • @benjaminbrady2385
      @benjaminbrady2385 5 лет назад +6

      @@duncanw9901 I prefer to use a magnet to write processor instructions myself actually

    • @PeterJavi
      @PeterJavi 5 лет назад +4

      @@benjaminbrady2385 You're not a real programmer unless you create your own processor.

    • @benjaminbrady2385
      @benjaminbrady2385 5 лет назад +3

      @@PeterJavi absolute fact

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

      wait WTF? are you like 2 weeks old or something? you don't even create a universe and create a star and wait for a rocky planet to form around that star and mine silicon, gold, copper, iron, and aluminium and make your own processor?

  • @mrandersonpw53
    @mrandersonpw53 5 лет назад +7

    You know Jens, this channel turned into an Engineering channel so gradually, I didn't even notice.

  • @non-inertialobserver946
    @non-inertialobserver946 5 лет назад +9

    It wouldn't be a papa Flammy episode without the "who would win" poll

  • @SpaghettiToaster
    @SpaghettiToaster 5 лет назад +2

    Looking forward to 100k subscriber special lit method for solving high-order nonlinear PDEs analytically!

  • @Vincentsgm
    @Vincentsgm 5 лет назад +4

    this is exactly what im doing those last days in class
    python odeint, euler implicit/explicit, rk2, rk4

    • @Vincentsgm
      @Vincentsgm 5 лет назад

      if you know how to use jupyter notebook, i could send u those algorithms, with graphs using matplotlib etc

  • @IshaaqNewton
    @IshaaqNewton 5 лет назад +1

    Flammy, I want to know about The shapes which look like Ellipse but not the same and their functions. Please, it's a big request. Please........

  • @Xrelent
    @Xrelent 5 лет назад +1

    Could you do a video on Euler's technique for holding chopsticks? Pascal's fork method is elegant in it's approach, sure, but I'm tired of being made fun of.

  • @kilisaas2536
    @kilisaas2536 5 лет назад +1

    Komm du aus Deutschland weil du eine ln deutschen Akzent hast

  • @frozenmoon998
    @frozenmoon998 5 лет назад +1

    Approximating engineer papa at it again.

  • @duncanw9901
    @duncanw9901 5 лет назад +2

    "If the greatest number x then x+1>x and can we deal without knowing one of its solutions?"

  • @kwirny
    @kwirny 5 лет назад +3

    Pogramming stuff is always fun, and you can always challenge yourself. C/C++ is also great for pogramming algorithms.

    • @kwirny
      @kwirny 5 лет назад

      @Daniel G It's an old language, what do you expect. You can do everything you want but it just takes more time and knowledge. But the Performance is better.

    • @kwirny
      @kwirny 5 лет назад

      @Daniel G Cause when you know c++, you know more than just pogramming and you get a deeper understanding of how a computer calculates.

    • @MuitaMerdaAoVivo
      @MuitaMerdaAoVivo 5 лет назад

      @@kwirny That's was what a professor i had always said to the class. If you understand C, you get way better at programing anything.

    • @kwirny
      @kwirny 5 лет назад

      @@MuitaMerdaAoVivo Yeah :). It's not efficient to always use c/c++. But you can benefit from knowing it. It's cool that we came to an consens.

  • @jeffersonbezerra6107
    @jeffersonbezerra6107 5 лет назад +1

    Boi in portuguese means ox... Infinity 🐮

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

    this guy is the hottest guy i have ever seen in my entire life

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

      seriously? xD

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

      His mature way of speaking mixed with the german accent just puts him way above everyone else

  • @tszhanglau5747
    @tszhanglau5747 5 лет назад +1

    Who would win? An almost impossible equation or a math boi?

  • @521Undertaker
    @521Undertaker 5 лет назад +1

    3:33 Your solution curves that differ only by “a constant” seem to all pass through the origin but have different slopes. A small but nontrivial flammy error!

  • @hanniffydinn6019
    @hanniffydinn6019 5 лет назад

    Bullshit, there is always a person who is first, who gets the gold medal! 🤯🤯🤯🤯🤯🤯🤡🤡🤡🤡🌍🌍🌍🌍

  • @morbidmanatee5550
    @morbidmanatee5550 5 лет назад

    Something to think about. I watched ruclips.net/video/oS4MaZKdfE0/видео.html and realized....
    This is a very interesting question.
    I think that matter and anti-matter probably exist in equal numbers. Just that they ended up existing in different "universes". Due to Heisenberg, the anti-matter likely formed its own universe, likely in a slightly offset time frame due to the uncertainty principle. But due to a miniscule but non-zero time frame (Plank scale?) between the balance of particles and anti-particles, there are two universes offset by a non-zero time difference, but occupying the same space, but can't interact (not "there" at the same "time") via electrodynamics. But maybe there is gravitational interaction between them that is what we see as "dark matter" (the two universes pushing against each other internally?).
    Thoughts?

  • @oleksiishekhovtsov1564
    @oleksiishekhovtsov1564 5 лет назад

    Virgin Python vs Chad MatLab
    Jk, MatLab is a plague on the science community

  • @sergey7375
    @sergey7375 5 лет назад

    Loved the video, my boi. Any chance for a video about Runge-Kutta Method?

  • @MathematicsOptimization
    @MathematicsOptimization 5 лет назад

    The smell... That smelly smell...
    Smells like Numerical Approxilation

  • @tatjanagobold2810
    @tatjanagobold2810 5 лет назад +1

    Yeeh infinite boi
    Wearing this shirt every Analysis lecture now haha

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

    Bruh i love you. It's incredible when i'm trouble you simply come out with the keeeeeey insight.

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

    4:19 Pre-emptively calming down the maths fanboys

  • @davide467
    @davide467 5 лет назад +1

    A serious question: does this method also work for stochastic differential equations?

  • @minhaj283
    @minhaj283 5 лет назад +1

    Us engineers use these numerical integration techniques all the time! Who cares about rigour...
    Side note: Could you do the Verlet method as well and compare it to Euler's method :))

    • @starship1701
      @starship1701 5 лет назад

      @@PapaFlammy69 We are learning about all these numerical methods right now in my computational physics class. Super cool to see you do a video about euler's method. We derived it in class with taylor expansions so seeing you do it a different way is awesome!
      Verlet is something we are learning too, it's for second order ODEs instead of first order like Euler's. We have only really used it to start the first step of more accurate methods like Numerov's algorithm (because y-1 needs to be estimated to estimate y1). I could send you my professor's notes about verlet if you are curious about it because tbh it's hard to find this information quickly in some other sources.

  • @musa4539
    @musa4539 5 лет назад +1

    got my tea. I'm ready for some maths

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

    Yeah that CoMa. I am sure to go to CoMa after taking Maths :(

  • @amruthmandappat.s4337
    @amruthmandappat.s4337 3 года назад

    your introduction is more like an overacting

  • @micayahritchie7158
    @micayahritchie7158 5 лет назад

    I got 3 ads for Brilliant in this video

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

    Why would anyone dislike this? I don’t understand 😭

  • @x15cyberrush9
    @x15cyberrush9 5 лет назад +1

    im a pro in python

  • @luisramrod9121
    @luisramrod9121 5 лет назад

    I love that shirt 😀😀😀

  • @IshaaqNewton
    @IshaaqNewton 5 лет назад

    Please, reply.

  • @tbar7290
    @tbar7290 5 лет назад

    Thanks bro
    What is your specialization and your university level?

  • @Ricocossa1
    @Ricocossa1 5 лет назад

    Naisu. I think you could have shown some graphs with your examples at the end of the video

  • @starship1701
    @starship1701 5 лет назад

    At 15:28 you said the error is first quite big, but then gets smaller. It has an "e-05" at the end of that number though. If you look closely the error in that case gets larger.

  • @July-gj1st
    @July-gj1st 5 лет назад

    Hey papa, what’s the simplest chaotic system you can think of, I need to use one to create a key for an encryption (for computer mathematics).

  • @dgrandlapinblanc
    @dgrandlapinblanc 4 года назад

    Cool. Thanks.

  • @damiandassen7763
    @damiandassen7763 5 лет назад

    I learned this last week in university, but I'll watch it anyways. :)

  • @Hobbit183
    @Hobbit183 5 лет назад

    3:47 Why not

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

    very nice

  • @IsmaelAlvesBr
    @IsmaelAlvesBr 4 года назад

    How do I make this with zeros in the Transfer Function ?

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

    Thanks

  • @cassiel5150
    @cassiel5150 5 лет назад

    Gettin close to 2^2^2^2^2 subscribers tho. :/

  • @klei7263
    @klei7263 5 лет назад

    ok real boi question flammable man
    gauss
    or euler
    bro.

  • @empireempire3545
    @empireempire3545 5 лет назад

    So there are other integrators than Velocity Verlet?

  • @hambonesmithsonian8085
    @hambonesmithsonian8085 5 лет назад

    We did this exact thing in my physics seminar class!

  • @absolutelymath3399
    @absolutelymath3399 5 лет назад

    They were skillshare 😂😂😂🙌🏼🙌🏼

  • @epicmorphism2240
    @epicmorphism2240 5 лет назад

    Mach bitte ein video uber dans intégral mit den grenzen 0 und ♾ von cos(ln(x))

  • @trololollolololololl
    @trololollolololololl 5 лет назад

    Thx for 2nd theorem of engineering

  • @davidepascu3026
    @davidepascu3026 5 лет назад

    Oh boi

  • @YitzharVered
    @YitzharVered 5 лет назад

    Everyone knows real Chads do it in J A V A S C R I P T

    • @Ricocossa1
      @Ricocossa1 5 лет назад

      Real bros make their graphs in assembly language.

  • @georrgy
    @georrgy 5 лет назад

    Котята круто, я считаю.

  • @pendulousphallus
    @pendulousphallus 5 лет назад

    Papa covering another class I failed.

    • @pendulousphallus
      @pendulousphallus 5 лет назад

      ​@@PapaFlammy69 I think most science, math and engineering students are willing to accept the risk of failing a class. It happens, it just means you're being appropriately challenged. I just wish I had that money back is all. Please only be crying over my bank account and not my transcript.