Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Backward Runge-Kutta Method (4th Order)

  1. Dec 26, 2008 #1
    1. The problem statement, all variables and given/known data


    As part of a computing project I'm doing, I need to use a shooting method, to solve a set of differential equations. I have some trial boundary conditions at either end of the equations, and am going to be integrating from each end and varying some parameters until the solutions meet in the middle.

    I'd like to use the 4th order Runge-Kutta method to do this integration, but I only know the forwards Runge-Kutta method, and not the backwards one, so I'd just like to ask a few questions:

    Firstly, is there a backwards version?

    Second, what is it? Please could you state it, give me a link to it, or try and explain how I'd find it (as I'm having difficulty working it out).


    2. Relevant equations

    The 4th Order Forwards Runge-Kutta method is:

    for dy/dx = F(X,Y)

    Yn+1 = Yn + 1/6H(K1 + 2K2 + 2K3 + K4)


    K1 = F(X,Y)*H

    K2 = F(X+H/2,Y+H/2*K1)

    K3 = F(X+H/2, Y+H/2*K2)

    K4 = F(X+H, Y+H*K3)

    3. The attempt at a solution
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted