A system of two second order differential equations

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 6K views
jeffro06
Messages
4
Reaction score
0
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.
 
Physics news on Phys.org
...and...

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...
 
I didn't know that I could put them into 4 first order equations, but I did it and it worked fine. Thank you.