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

Coupled first order differential equations

  1. Jul 1, 2005 #1
    How i can solve a system of 6 first order differential equations by using numerical techniques like Euler method, RK-4th order method , ODE -45 etc.
  2. jcsd
  3. Jul 1, 2005 #2
    First you need to write the equations in state vairable form and then convert it to state space format where
    xdot = Ax + B A is a matrix, x and B are vectors
    y = Cx + Du C is the relationship between x and y, and D is an initial condition

    Now just pick a single equation and perform your numerical calculations plug those results into all the others and see what you obtain, doing this by hand really isn't recommended. It far worse than solving a system of 6 ordinary algebraic equations by hand whihc is already quite the task. I suggest running ODE 45 on it in matlab
  4. Jul 1, 2005 #3


    User Avatar
    Science Advisor
    Homework Helper

    Here you go dude:





    Now, each time you increment t, you have to determine the corresponding increments in [itex]x_i[/itex].

    You see, it's done in parallel: Increment t, calculate [itex]x_1[/tex] through [itex]x_6[/itex] increment, then increment t again, do all six again, and so fourth to the end.

    How about posting the equations?
    Last edited: Jul 1, 2005
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Coupled first order differential equations