I have four coupled ODE's. I am not sure how to plot and solve them using Mathematica.
I won't give the exact problem, but the following is something analogous:
The equations
a= x'[t]
a'=-c1*x[t]/c2+c1*(y[t]-x[t])/c2
b=y'[t]
b'=-c1*(y[t]-x[t])/c2
Can be written as
x'[t]= -c1*x[t]/c2 + c1*(y[t]-x[t])/c2
y'[t]= -c1*(y[t]-x[t])/c2
The question is, now how do I use these in NDSolve to give solution and later a plot as well? I have initial conditions to plug in, but I am hung up on how to solve these coupled equations...
Thank you in advance.
Edit I do not know how to input this into NDSolve.


c1x[t]lack a blank afterc1? Your equation seems to be pretty normal, what difficulty do you have in solving them withNDSolve? I suggest you to give a more specific sample. – xzczd Nov 5 '12 at 5:27NDSolve? : reference.wolfram.com/mathematica/ref/… – xzczd Nov 5 '12 at 6:01Read the FAQs! 3) When you see good Q&A, vote them up byclicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. ALSO, remember to accept the answer, if any, that solves your problem,by clicking the checkmark sign` – chris Nov 5 '12 at 8:04