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

  Рет қаралды 19,788

Flammable Maths

Flammable Maths

4 жыл бұрын

Get yourself a 2 MONTH FREE PREMIUM TRIAL by using Daddy's special link skl.sh/flammablemaths4 :)
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.com/5da1985b1113f
Source Code #2: www.pastiebin.com/5da198bab78cb
Help me create more free content! =)
/ mathable
Merch :v - teespring.com/de/stores/papaf...
www.amazon.com/shop/flammable...
shop.spreadshirt.de/papaflammy
2nd Channel: / @rockhardwooddaddy
--------------------------------------------------------------------------------
Wanna send me some stuff? lel:
Postfach 60 06 03
14406 Potsdam
Brandenburg
Germany
--------------------------------------------------------------------------------
My Website: www.papaflammy.engineer/
Instagram: / flammablemaths
Flammy's subreddit: / flammybois
Twitter: / flammablemaths
Facebook: / flammablemaths
Got some time to spare? Make sure to add captions to my videos! =) kzbin.info_cs_p...
Want to know more about me? Watch my QnA! =D • Question and Answer Ti...

Пікірлер: 88
@non-inertialobserver946
@non-inertialobserver946 4 жыл бұрын
When your code works after only the 58th try: "Sometimes my genius is... it's almost frightening"
@jackcarr45
@jackcarr45 4 жыл бұрын
"Oh boi papi is going to love this :v" - Wheeler, 1755
@Blox117
@Blox117 4 жыл бұрын
who is this "wheeler" you speak of? are you perhaps referring to the famous mathematician Yooler?
@ffggddss
@ffggddss 4 жыл бұрын
@@Blox117 Yule log? Fred
@allaincumming6313
@allaincumming6313 4 жыл бұрын
Now engineers and physicists can congratulate, not only constants and functions can be approximated.
@Blox117
@Blox117 4 жыл бұрын
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 4 жыл бұрын
@@Blox117 _What? Error term? I don't understand that mathematician shit_ *continues using only the first Taylor term*
@duncanw9901
@duncanw9901 4 жыл бұрын
*laughs ass off in runge-kutta*
@mrandersonpw53
@mrandersonpw53 4 жыл бұрын
You know Jens, this channel turned into an Engineering channel so gradually, I didn't even notice.
@benjaminbrady2385
@benjaminbrady2385 4 жыл бұрын
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_ 4 жыл бұрын
Given some Medieval scholars’ adverse reaction to infinitesimals, this makes a lotta sense.
@duncanw9901
@duncanw9901 4 жыл бұрын
@@sw3aterCS_ in their defence it took ol' wierstrau🅱️ to make the things rigorous
@yonatanh8722
@yonatanh8722 4 жыл бұрын
15:25 The error is actually getting bigger with every iteration
@ramon1930
@ramon1930 2 жыл бұрын
Bruh i love you. It's incredible when i'm trouble you simply come out with the keeeeeey insight.
@non-inertialobserver946
@non-inertialobserver946 4 жыл бұрын
It wouldn't be a papa Flammy episode without the "who would win" poll
@hambonesmithsonian8085
@hambonesmithsonian8085 4 жыл бұрын
We did this exact thing in my physics seminar class!
@Vincentsgm
@Vincentsgm 4 жыл бұрын
this is exactly what im doing those last days in class python odeint, euler implicit/explicit, rk2, rk4
@Vincentsgm
@Vincentsgm 4 жыл бұрын
if you know how to use jupyter notebook, i could send u those algorithms, with graphs using matplotlib etc
@sergey7375
@sergey7375 4 жыл бұрын
Loved the video, my boi. Any chance for a video about Runge-Kutta Method?
@damiandassen7763
@damiandassen7763 4 жыл бұрын
I learned this last week in university, but I'll watch it anyways. :)
@SpaghettiToaster
@SpaghettiToaster 4 жыл бұрын
Looking forward to 100k subscriber special lit method for solving high-order nonlinear PDEs analytically!
@July-gj1st
@July-gj1st 4 жыл бұрын
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).
@starship1701
@starship1701 4 жыл бұрын
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.
@davide467
@davide467 4 жыл бұрын
A serious question: does this method also work for stochastic differential equations?
@dgrandlapinblanc
@dgrandlapinblanc 4 жыл бұрын
Cool. Thanks.
@musa4539
@musa4539 4 жыл бұрын
got my tea. I'm ready for some maths
@kwirny
@kwirny 4 жыл бұрын
Pogramming stuff is always fun, and you can always challenge yourself. C/C++ is also great for pogramming algorithms.
@kwirny
@kwirny 4 жыл бұрын
@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 4 жыл бұрын
@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 4 жыл бұрын
@@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 4 жыл бұрын
@@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.
@cestpasmoices3550
@cestpasmoices3550 Жыл бұрын
Thanks
@wompastompa3692
@wompastompa3692 4 жыл бұрын
Python? Nah son, just pull up a spreadsheet, define a few cells, and have fun dragging the formulae for thousands of lines.
@trololollolololololl
@trololollolololololl 4 жыл бұрын
Thx for 2nd theorem of engineering
@tbar7290
@tbar7290 4 жыл бұрын
Thanks bro What is your specialization and your university level?
@tatjanagobold2810
@tatjanagobold2810 4 жыл бұрын
Yeeh infinite boi Wearing this shirt every Analysis lecture now haha
@IsmaelAlvesBr
@IsmaelAlvesBr 3 жыл бұрын
How do I make this with zeros in the Transfer Function ?
@pawehoowicki7940
@pawehoowicki7940 3 жыл бұрын
very nice
@empireempire3545
@empireempire3545 4 жыл бұрын
So there are other integrators than Velocity Verlet?
@Xrelent
@Xrelent 4 жыл бұрын
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.
@Ricocossa1
@Ricocossa1 4 жыл бұрын
Naisu. I think you could have shown some graphs with your examples at the end of the video
@IshaaqNewton
@IshaaqNewton 4 жыл бұрын
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........
@matron9936
@matron9936 4 жыл бұрын
IGNORED
@frozenmoon998
@frozenmoon998 4 жыл бұрын
Approximating engineer papa at it again.
@absolutelymath3399
@absolutelymath3399 4 жыл бұрын
They were skillshare 😂😂😂🙌🏼🙌🏼
@benjaminbrady2385
@benjaminbrady2385 4 жыл бұрын
Sorry, I don't use that virgin python shit. I only use C or certain assemblys
@duncanw9901
@duncanw9901 4 жыл бұрын
If you didn't bootstrap the compiler yourself, is it really C?
@benjaminbrady2385
@benjaminbrady2385 4 жыл бұрын
@@duncanw9901 I prefer to use a magnet to write processor instructions myself actually
@PeterJavi
@PeterJavi 4 жыл бұрын
@@benjaminbrady2385 You're not a real programmer unless you create your own processor.
@benjaminbrady2385
@benjaminbrady2385 4 жыл бұрын
@@PeterJavi absolute fact
@mastershooter64
@mastershooter64 3 жыл бұрын
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?
@minhaj283
@minhaj283 4 жыл бұрын
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 4 жыл бұрын
@@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.
@duncanw9901
@duncanw9901 4 жыл бұрын
"If the greatest number x then x+1>x and can we deal without knowing one of its solutions?"
@epicmorphism2240
@epicmorphism2240 4 жыл бұрын
Mach bitte ein video uber dans intégral mit den grenzen 0 und ♾ von cos(ln(x))
@klei7263
@klei7263 4 жыл бұрын
ok real boi question flammable man gauss or euler bro.
@521Undertaker
@521Undertaker 4 жыл бұрын
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!
@luisramrod9121
@luisramrod9121 4 жыл бұрын
I love that shirt 😀😀😀
@tszhanglau5747
@tszhanglau5747 4 жыл бұрын
Who would win? An almost impossible equation or a math boi?
@micayahritchie7158
@micayahritchie7158 4 жыл бұрын
I got 3 ads for Brilliant in this video
@davidepascu3026
@davidepascu3026 4 жыл бұрын
Oh boi
@pendulousphallus
@pendulousphallus 4 жыл бұрын
Papa covering another class I failed.
@pendulousphallus
@pendulousphallus 4 жыл бұрын
​@@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.
@ozzyfromspace
@ozzyfromspace 3 жыл бұрын
Why would anyone dislike this? I don’t understand 😭
@PapaFlammy69
@PapaFlammy69 3 жыл бұрын
:(
@morbidmanatee5550
@morbidmanatee5550 4 жыл бұрын
Something to think about. I watched kzbin.info/www/bejne/pYSXfpSQgMmZe5I 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?
@georgian_thoughts
@georgian_thoughts 4 жыл бұрын
Котята круто, я считаю.
@girishtripathy3354
@girishtripathy3354 3 жыл бұрын
Yeah that CoMa. I am sure to go to CoMa after taking Maths :(
@The_Professor123
@The_Professor123 4 жыл бұрын
3:47 Why not
@ge3neva
@ge3neva 3 жыл бұрын
4:19 Pre-emptively calming down the maths fanboys
@jeffersonbezerra6107
@jeffersonbezerra6107 4 жыл бұрын
Boi in portuguese means ox... Infinity 🐮
@x15cyberrush9
@x15cyberrush9 4 жыл бұрын
im a pro in python
@cassiel5150
@cassiel5150 4 жыл бұрын
Gettin close to 2^2^2^2^2 subscribers tho. :/
@BrandonSLockey
@BrandonSLockey 3 жыл бұрын
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
@kilisaas2536
@kilisaas2536 4 жыл бұрын
Komm du aus Deutschland weil du eine ln deutschen Akzent hast
@YitzharVered
@YitzharVered 4 жыл бұрын
Everyone knows real Chads do it in J A V A S C R I P T
@Ricocossa1
@Ricocossa1 4 жыл бұрын
Real bros make their graphs in assembly language.
@IshaaqNewton
@IshaaqNewton 4 жыл бұрын
Please, reply.
@hanniffydinn6019
@hanniffydinn6019 4 жыл бұрын
Bullshit, there is always a person who is first, who gets the gold medal! 🤯🤯🤯🤯🤯🤯🤡🤡🤡🤡🌍🌍🌍🌍
@oleksiishekhovtsov1564
@oleksiishekhovtsov1564 4 жыл бұрын
Virgin Python vs Chad MatLab Jk, MatLab is a plague on the science community
@MathematicsOptimization
@MathematicsOptimization 4 жыл бұрын
The smell... That smelly smell... Smells like Numerical Approxilation
@amruthmandappat.s4337
@amruthmandappat.s4337 3 жыл бұрын
your introduction is more like an overacting
73939133 - Probably the Most Interesting Prime Number [Part 1]
16:57
Flammable Maths
Рет қаралды 39 М.
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Рет қаралды 135 МЛН
Chips evolution !! 😔😔
00:23
Tibo InShape
Рет қаралды 28 МЛН
ШЕЛБИЛАР | bayGUYS
24:45
bayGUYS
Рет қаралды 685 М.
Зу-зу Күлпәш. Стоп. (1-бөлім)
52:33
ASTANATV Movie
Рет қаралды 1,2 МЛН
Euler method (Python)
8:48
Dr Jon Shiach
Рет қаралды 3,6 М.
Have I Failed as a Teacher?
31:02
Flammable Maths
Рет қаралды 37 М.
How to Solve Differential Equations in PYTHON
23:37
Mr. P Solver
Рет қаралды 94 М.
Euler's Method scene in Hidden Figures
1:45
mitchell h
Рет қаралды 6 МЛН
Euler's Method in Python: Predator-Prey Example
23:42
Mike Saint-Antoine
Рет қаралды 1,5 М.
Cauchy Euler Differential Equation (equidimensional equation)
13:45
blackpenredpen
Рет қаралды 162 М.
How to Solve Coupled Differential Equations ODEs in Python
10:12
Vincent Stevenson
Рет қаралды 49 М.
Square Root of 2, Newton's method vs Euler's method
12:27
blackpenredpen
Рет қаралды 390 М.
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Рет қаралды 135 МЛН