A system of two second order differential equations

  • Thread starter jeffro06
  • Start date
4
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.
 

Tide

Science Advisor
Homework Helper
3,077
0
Perhaps a little more detail would be helpful. Are these ordinary DEs? Linear? Homogeneous?
 

J77

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

Related Threads for: A system of two second order differential equations

Replies
8
Views
3K
Replies
3
Views
10K
Replies
9
Views
6K
Replies
1
Views
2K
Replies
6
Views
910
Replies
3
Views
2K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads

Top