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

A system of two second order differential equations

  1. May 9, 2006 #1
    I was wondering what the best method is to solve two second order differential equations that are coupled. I need to solve it by hand and write my own code so I cannot use built in functions in matlab, etc. At time (0), displacement and velocity are 0 with an initial acceleration which is dependent on pressure as a function of time.
  2. jcsd
  3. May 11, 2006 #2


    User Avatar
    Science Advisor
    Homework Helper

    Perhaps a little more detail would be helpful. Are these ordinary DEs? Linear? Homogeneous?
  4. May 11, 2006 #3


    User Avatar


    Is it a computational project?

    What language do you use?

    fwiw, if it is, just write a simple Euler integration code (after putting the equations into first order form), see if it works and then compare with results from an RK4 code...
  5. May 11, 2006 #4
    I didn't know that I could put them into 4 first order equations, but I did it and it worked fine. Thank you.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?