4th-Order Runge Kutta Method for ODEs

  Рет қаралды 136,133

LearnChemE

LearnChemE

9 жыл бұрын

Organized by textbook: learncheme.com/
Describes the 4th-order Runge-Kutta method for solving ordinary differential equations and gives an example. Made by faculty at the University of Colorado Boulder, Department of Chemical & Biological Engineering. Check out our Engineering Computing playlists: kzfaq.info...

Пікірлер: 47
@DimaAntselevichDemonicOwl
@DimaAntselevichDemonicOwl 4 жыл бұрын
You managed to explain this better in 12 minutes than my professor in 3 hours.
@Hurricane6220
@Hurricane6220 7 жыл бұрын
Nice job visualizing everything, it helped quite a bit. Thanks!
@blablabliam
@blablabliam 5 жыл бұрын
This is beautiful. Thanks for putting this together!
@LucyRockprincess
@LucyRockprincess 7 жыл бұрын
best explanation i've seen yet - thank you!
8 жыл бұрын
Best explanation of RK method I've seen until now. Thanks.
@user-yl9tn9wt9t
@user-yl9tn9wt9t 8 жыл бұрын
Really good teaching. Clear and vividly!
@trivikrammohan6526
@trivikrammohan6526 5 жыл бұрын
A great and clear explanation :D. Thanks much!
@OobairepointoO
@OobairepointoO 2 жыл бұрын
Thank you very much for this video. It helped me for writing my code in c to visualize the Rössler-Attraktor.
@user-vm6hn8bi9c
@user-vm6hn8bi9c 7 жыл бұрын
Thank you very much!! I major mathematics and I learn how to use matlab for solving ode. It's very thoughtful and helpful video for people like me
@yahirlyle5415
@yahirlyle5415 3 жыл бұрын
I realize it's kinda randomly asking but do anyone know a good place to stream newly released series online?
@markmisin
@markmisin 3 жыл бұрын
Thank you for the great video!
@dustincondon5557
@dustincondon5557 5 жыл бұрын
Super helpful - thanks!
@user-oh1dg6yc6t
@user-oh1dg6yc6t 9 ай бұрын
Thank you very much! This video is very clear and taking me straight to the point :D
@DrRAK
@DrRAK 4 жыл бұрын
Explained very well, I have a suggestion that you should have drawn concrete tangent lines with slopes K1, k2, k3, k4 and then the final tangent line with weighted average slope, it could be very easy to visualize better.
@xenyatox9814
@xenyatox9814 2 жыл бұрын
I didn't really understand why you need to go back to you first point. You seem to have understood very well, so could you explain to me in few sentences ?
@mahdikarimi9669
@mahdikarimi9669 4 жыл бұрын
hi, thank you for useful videos. I have a system of 2nd order odes. there are some complex numbers (with imaginary part) in the equations. I wonder if Runge kutta worked or not.
@noellou8072
@noellou8072 8 жыл бұрын
Hi there, i am doing a trajectory simulation for a free-fall lifeboat, however i tried solving the following motion equations to produce a trajectory MX''=Fn(sin θ - uCos θ ) MZ''=Fn(cos θ + uSin θ ) - Mg i had split it up into four 1st order ode X' = Vx Z' = Vz Vx'=[fn*(sin θ - uCos θ )]/M Vz'={[fn(cos θ + uSin θ )]/M} - g however my runge kutta code produce something different. i notice that at the right handside of my function i got a constant , and does not have any X or t like yours in the video. t(1) = 0;% initial condition Vx(1)=0;%initial accleration X(1)=0; Vz(1)=0; Z(1)=0;%initial velocity F_X = @(t,X,Vx) Vx; F_Z = @(t,Z,Vz) Vz; F_Vx = @(t,X,Vx)(0.866*(sin(thete)-0.5774*(cos(thete)))); F_Vz = @(t,Z,Vz)(0.866*(cos(thete)+0.5774*(sin(thete)))-9.81); and my graph came out weird. could the way i format my equations be the cause of my problem? thank you
@sudeuzal7
@sudeuzal7 2 жыл бұрын
why are there two different slope values at the same t value? I thought functions can't have two values at the same x-axis, right?
@ayratkhalimov1648
@ayratkhalimov1648 4 жыл бұрын
Thanks for sharing the video! Question about weights of individual derivatives: why 2 to k2 and k3, but 1 to k1 and k4? Why not use weight 1 for all ks? (or any other weight) Thanks!
@AbishekMahe
@AbishekMahe 4 жыл бұрын
We use a time step of delta t / 2 for k2 and k3, hence the slope should be "more precise" because the time step is smaller. That's why, they get a coefficient 2 in the average of k1 to k4, to take into account the fact that they are more accurate
@aymenamer6290
@aymenamer6290 7 жыл бұрын
I want to solve system of 2nd order differential equations in two variables(x,y)and with the second deriving of (x,y) with respect to z
@maymonaakrm8577
@maymonaakrm8577 3 жыл бұрын
Thank you so much!
@pendawarrior
@pendawarrior 4 жыл бұрын
Thank you so much
@DragnKillaSnipaPro
@DragnKillaSnipaPro 6 жыл бұрын
So good
@zneah1137
@zneah1137 3 жыл бұрын
The subtitles are top-notch
@behnamsay7168
@behnamsay7168 4 жыл бұрын
9:19 -- why x1(0.25) and not x(0.30)? Because as I understood x(t0+delta t)=x(0.2+0.1)=x(0.3)
@user-uc8ho1gg9o
@user-uc8ho1gg9o 3 жыл бұрын
thank you
@Mjaykhani
@Mjaykhani 4 жыл бұрын
Good one
@user-pw2tj3mz3g
@user-pw2tj3mz3g 3 жыл бұрын
nice video
@norainshakirah4819
@norainshakirah4819 6 жыл бұрын
Where do you get the true value? Is it given?
@LearnChemE
@LearnChemE 6 жыл бұрын
We used a MATLAB ODE solver to find the slope.
@coldcoffeeworkshop5436
@coldcoffeeworkshop5436 3 жыл бұрын
bless you.
@sillybilly5937
@sillybilly5937 5 жыл бұрын
Interesting you have x first and t last in your function notation. I have never seen it written that way.
@jostromp7380
@jostromp7380 3 жыл бұрын
Is this implicit or explicit?
@alshahriarislamziko6447
@alshahriarislamziko6447 2 жыл бұрын
Classy
@user-lw4je9hu2s
@user-lw4je9hu2s Жыл бұрын
thx
@jer3504
@jer3504 7 жыл бұрын
Calculate function at t+ deltat/2 = 0.25 at 8:46? No idea why its 0.25 and no math was shown for that step. Super confusing.
@LearnChemE
@LearnChemE 7 жыл бұрын
Thanks for your question. t = 0.2, and deltat = 0.1, so 0.2 + (0.1)/2 = 0.25.
@J1O2J2O1
@J1O2J2O1 6 жыл бұрын
it's because t0 is 0.2 (initial condition) and going from there (t0+deltat/2) it's 0.25 as deltat/2 is 0.05
@yue-ruhou6641
@yue-ruhou6641 3 жыл бұрын
My professor told me to watch your video
@a1ai
@a1ai 8 жыл бұрын
I don't understand about the part of determining delta t. Is it random?
@LearnChemE
@LearnChemE 8 жыл бұрын
+F Lasmono Determining the correct time step to use is a problem for any initial value ODE method. You have to choose a time step over which your problem is slowly varying. Runge-Kutta 4th order only ensures that the error is significantly lower than the error would be for the same problem and the same time step using a 1st or 2nd order algorithm -- but the error still might be far.
@a1ai
@a1ai 8 жыл бұрын
+LearnChemE I see. More like trial and error then? Thank you for the explanation.
@nfsking2000
@nfsking2000 6 жыл бұрын
Nice vid apart from pronunciation of Runge Kutta :)
@evanjones8049
@evanjones8049 3 жыл бұрын
Using both x and t made this extremely confusing.....
@blinded6502
@blinded6502 2 жыл бұрын
LOL what? You wanted it all to be only x?
@MinhVu-fo6hd
@MinhVu-fo6hd 5 жыл бұрын
This method is so overrated. It is not accurate enough.
Euler Method for ODEs
7:16
LearnChemE
Рет қаралды 55 М.
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 51 МЛН
Schoolboy - Часть 2
00:12
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 9 МЛН
RK4 (Classical 4th-Order Runge-Kutta) Method Examples
39:01
James Wenson
Рет қаралды 11 М.
Understanding Runge-Kutta
9:10
ThatMathThing
Рет қаралды 5 М.
A Better Integrator? The Runge-Kutta Family of Integrators - Part 2 of 2 - Method
16:09
Good Vibrations with Freeball
Рет қаралды 16 М.
4  Runge--Kutta Methods
40:01
LUMS Physics Department
Рет қаралды 4,6 М.
Coding a Fourth-Order Runge-Kutta Integrator in Python and Matlab
36:52
Introduction to Euler's Method
12:43
Firefly Lectures
Рет қаралды 130 М.
Runge-Kutta 4th order Method & Illustrative Examples
16:51
Dr. Harish Garg
Рет қаралды 7 М.
7.1.2-ODEs: Introduction to Runge-Kutta Methods
5:57
Jacob Bishop
Рет қаралды 128 М.
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 51 МЛН