Chapter 08.04: Lesson: Runge Kutta 4th Order Method: Example: Part 2 of 2

Поділитися
Вставка
  • Опубліковано 20 жов 2024

КОМЕНТАРІ • 62

  • @subhangladha
    @subhangladha 11 місяців тому +3

    I'm in IITDelhi and I'm studying this one night before my major exam.
    very nicely explained
    his channel is goldmine for numerical analysis

  • @PhatPhunkyPhatso
    @PhatPhunkyPhatso 11 років тому +2

    It's always great to see videos like this get the good ratings and view count they deserve. Keep up the good work!

  • @remyxi
    @remyxi 8 років тому +9

    seriously man, thank you very much !

  • @sekihong3336
    @sekihong3336 9 років тому +9

    CLEAR AND EASY TO UNDERSTAND

  • @dostatdoram7
    @dostatdoram7 15 років тому

    thax so much,examples makes us to understand it much better.

  • @ChicoKj23
    @ChicoKj23 14 років тому

    much thanks for the videos. you are much better at explaining this then my professor

  • @numericalmethodsguy
    @numericalmethodsguy  14 років тому

    @ingcarcruz k1, k2, k3 and k4 are all slopes of dy/dx. The weighted average gets multiplied later by h.

  • @rmorris1603
    @rmorris1603 12 років тому

    this is pretty awesome stuff, I am finding this really useful for numerical methods and its applications in programming, thank you for the upload!

  • @rajanalexander4949
    @rajanalexander4949 2 роки тому +1

    Fantastic explanation; thank you!

    • @numericalmethodsguy
      @numericalmethodsguy  2 роки тому

      Thank you. Please subscribe and ask your friends to subscribe - our goal is to get to 100,000 subscribers by the end of 2021.
      To get even more help, subscribe to the numericalmethodsguy channel ua-cam.com/users/numericalmethodsguy, and go to MathForCollege.com/nm and MathForCollege.com/ma for more resources.
      Follow the numerical methods blog at AutarKaw.org. You can also take a free massive open online course (MOOC) at canvas.instructure.com/enroll/KYGTJR
      Please share these links with your friends and fellow students through social media and email.
      Support the channel if you able to do so at ua-cam.com/users/numericalmethodsguy/store

  • @stevechuks89
    @stevechuks89 9 років тому +3

    Very educating! Please can you refer me to the electronic circuit question of this solution? I mean with regards to its capacitor, diode, and resistor values. I need to write some codes as regards Runge-Kutta method on matlab with all the error estimates. Thanks.. I will be so glad if you reply to this. Appreciate :)

  • @indrajitsingh7216
    @indrajitsingh7216 8 років тому +4

    Thank u. To the point explanation

  • @paxxx1389
    @paxxx1389 13 років тому

    very good explanations,makes my project much easier to do, thanks!

  • @hakoolamilambo726
    @hakoolamilambo726 6 років тому +1

    very fast clean and clear!!!!!!!!!

  • @myway8950
    @myway8950 10 років тому +2

    You 're the best!!!!!!!!!!!!!!!!

  • @reenajalota8750
    @reenajalota8750 9 років тому +2

    Thank you Sir, it was very helpful

  • @surbarus
    @surbarus 13 років тому

    lmao...uz ah bosss!!! made something difficult become so simple. thanks man

  • @sidharathjain
    @sidharathjain 15 років тому

    Thanks a lot... It made it so easy to understand the complicated runge kutta method... Thanks heaps

  • @laithhameedalazawy
    @laithhameedalazawy 5 років тому

    Dear Sir,
    Thank you very much for this amazing video but at the end why did you change the sign of the function (3e^-x -0.4*y) in the calculation of K4 you changed it to +0.4y.???!!!
    Again appreciating your explanation.....

  • @debulinabiswas1358
    @debulinabiswas1358 9 років тому +1

    loved it... very helpful ty😊

  • @xody4512
    @xody4512 11 років тому

    Thank you very much for this. It helped me a lot.

  • @ttamhoang7354
    @ttamhoang7354 8 років тому +1

    Thanks for your video, can you explain in detail about how to modelling of Runge - Kutta 4th order method.

  • @numericalmethodsguy
    @numericalmethodsguy  11 років тому

    The procedure is not any different. Remember v is a function of t, so if dv/dt is a function of v, it eventually is a function of t also. Step size does effect as step size is not t but deltat.

  • @syedmuhammadbintahir3041
    @syedmuhammadbintahir3041 8 років тому

    thank you so much for this lecture , sir ! :) really helpful for me..

    • @numericalmethodsguy
      @numericalmethodsguy  8 років тому

      Go to MathForCollege.com/nm for more resources. Follow my numerical methods blog at AutarKaw.org

  • @noname-lq7wf
    @noname-lq7wf 10 років тому +1

    Thank you very much for this

  • @belrokqueen
    @belrokqueen 11 років тому

    Thank you! Such a helpful video!

  • @tyebillion
    @tyebillion 10 років тому

    Good example, although as ingcarcruz pointed out below the correct equation for k1 is f(x(t), y(t))h.

    • @tyebillion
      @tyebillion 10 років тому

      On reflection I think this example from numericalmethodsguy is confusing as this method is better described with a time variable t instead of x, and then use x as the variable which changes over time. So then the equation is dx/dt = f(x). Although this gets confusing in two or more dimensions where x is a vector e.g. in 3 dimensions write x (underlined) and use variables x, y and z, then write dx/dt=f1(x, y, z) dy/dt=f2(x, y, z) etc.

    • @hmuna_fanai
      @hmuna_fanai 10 років тому

      he multiplied the 'h' in the y(i) equation later

  • @surveyor1978
    @surveyor1978 14 років тому

    thanks a lot for this great job

  • @scholar4life
    @scholar4life 15 років тому

    Great job. Thanks heaps.

  • @numericalmethodsguy
    @numericalmethodsguy  12 років тому

    I think you are talking about 2nd order ODEs whch are set up as two simultaneous 1st order ODEs. See examples of this by 2nd order (not 4th order) method by going to numericalmethods(dot)eng(dot)usf(dot)edu and click on Keyword. Click on Higher Order ODEs. You will see more resources.

  • @Aguvika
    @Aguvika 10 років тому

    hello sir, is it ok if i send you some of my work for review?

  • @gloriaayeni8510
    @gloriaayeni8510 4 роки тому

    Thank you so much!

  • @fanweihong246
    @fanweihong246 8 років тому +1

    hi sir, may i know how to get the exact value??

    • @numericalmethodsguy
      @numericalmethodsguy  8 років тому

      Please go here. autarkaw.wordpress.com/2011/01/21/classical-solution-technique-to-solve-a-first-order-ode/

  • @ignatiuslau
    @ignatiuslau 15 років тому

    Damn! This actually makes sense!!

  • @shinysafwan5943
    @shinysafwan5943 8 років тому +1

    how I solve the second order ordinary DE using Runge Kutta Method ??

    • @numericalmethodsguy
      @numericalmethodsguy  8 років тому

      nm.mathforcollege.com/topics/higherorder_ode.html. See resources at this site.

  • @dhaneshwadekar2476
    @dhaneshwadekar2476 8 років тому +1

    Srsly,tnks a lot

  • @quannguyenminh8958
    @quannguyenminh8958 7 років тому

    Hi sir I have a question for you: how to find exact y(3)? I don't understand 2.763.

    • @numericalmethodsguy
      @numericalmethodsguy  7 років тому

      See solution at autarkaw.org/2011/01/21/classical-solution-technique-to-solve-a-first-order-ode/

    • @quannguyenminh8958
      @quannguyenminh8958 7 років тому

      thank you, sir

    • @quannguyenminh8958
      @quannguyenminh8958 7 років тому

      sir, could you make a clip of curve fitting ?

    • @numericalmethodsguy
      @numericalmethodsguy  7 років тому

      Curve fitting has two topics - regression and interpolation. Go here to learn about interpolation and regression. nm.mathforcollege.com

    • @CarlosDominguez-yr1ic
      @CarlosDominguez-yr1ic 7 років тому +1

      Answer to Quân Nguyễn Minh:
      I solved the differential equation of this video using a general formula for this type of equation.
      The differential equation of this video was:
      y’+0.4y= 3exp(-x) y(0)=5
      this is a first order linear differential equation which has this general form:
      y’+f(x)y=r(x)
      The formula to solve it is the following:
      y=exp(-h)( integral(exp(h)r(x)dx) + c )
      where h is:
      h= integral (f(x)dx)
      In the equation of the video we have that:
      f(x)=0.4
      h=integral(f(x)dx)=integral(0.4dx)=0.4x
      r(x)= 3exp(-x)
      I substituted in the general formula to solve the equation:
      y=exp(-0.4x)( integral(exp(0.4x)3exp(-x)dx) + c )
      y=exp(-0.4x)( integral(3exp(0.4x-x)dx) + c )
      y=exp(-0.4x)( integral(3exp(-0.6x)dx) + c )
      y=exp(-0.4x)( 3exp(-0.6x)/(-0.6) + c )
      y=exp(-0.4x)( 3exp(-0.6x)/(-3/5) + c )
      y=exp(-0.4x)( -(5/3)3exp(-0.6x) + c )
      y=exp(-0.4x)( -5exp(-0.6x) + c )
      y=-5exp(-0.4x)exp(-0.6x) + c exp(-0.4x)
      y=-5exp(-x) + c exp(-0.4x)
      I calculated c using the initial condition y(0)=5
      y(0)=-5exp(-0) + c exp(-0.4(0))=5
      -5exp(0) + c exp(0)=5
      -5+c=5
      c=5+5=10
      Therefore the solution is:
      y=-5exp(-x)+10exp(-0.4x)
      So the exact solution for y(3) shown in this video is:
      y(3)=-5exp(-3)+10exp(-0.4(3))
      y(3)=-5exp(-3)+10exp(-1.2)
      y(3)=-0.248935+3.011942
      y(3)=2.763007≈2.763
      I hope this information was useful for you. I am a graduate student of specialization in electric power systems at Central University of Venezuela in Caracas. Best regards from Venezuela.

  • @mohammedghouse7412
    @mohammedghouse7412 6 років тому +1

    By using RK4 method compute y(1.1) for the equation y'=3x+y^2 ,y(1)=1.2?
    What is the value of h?

    • @numericalmethodsguy
      @numericalmethodsguy  6 років тому

      h is something you will choose. To get an accurate value choose different step sizes such as 0.1, 0.05, 0.025 and so on. Find the value of y(1.1) and see what the absolute relative approximate error is for each step size. When it is below the prespecified tolerance, you have your answer to the accuracy you have chosen.

  • @joseparedes3765
    @joseparedes3765 7 років тому

    Putting an example is very helpfull . I am surprised by the accuracy of this method . 0,15% of error if a step of 1,5 . Are you kidding ?

  • @sandeeprauniyar9427
    @sandeeprauniyar9427 7 років тому +1

    sir how x2=3

  • @ggdltttt
    @ggdltttt 13 років тому +1

    Who the hell disliked this video? Come back and apologize now! >:(

  • @guicapone2
    @guicapone2 12 років тому

    exam in 2 hours, haven't even opened the book yet..

  • @kane966
    @kane966 13 років тому

    1 person prefers direct methods...