A system of two second order differential equations

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
Perhaps a little more detail would be helpful. Are these ordinary DEs? Linear? Homogeneous?
 
...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.
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top