Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Solving a system of differential equations' topicStudent Support Forum > General > "Solving a system of differential equations"

Next Comment >Help | Reply To Topic
Author Comment/Response
Hazem
12/05/12 07:11am

Dear All,
I have a system of differential equations I tried solving it with NDSolve but It gives me an error I could not figure what I did wrong
here is my system

NDSolve[{
ph1''[t]+ph1'[t]+sin[ph1[t]]-mu[t]-mu'[t]==0.005,
ph2''[t]+ph2'[t]+sin[ph2[t]]+mu[t]+mu'[t]==0.005,
0.2mu'[t]+mu[t]==ph1'[t]-ph2'[t],
ph2[0]==0,
ph1[0]==0,
ph2'[0]==0,
ph1'[0]==0,
mu[0]==0
},
{ph1[t],ph2[t],mu[t]},
{t,0,5000}
]

Attachment: NDsolve-1.nb, URL: ,

Subject (listing for 'Solving a system of differential equations')
Author Date Posted
Solving a system of differential equations Hazem 12/05/12 07:11am
Re: Solving a system of differential equations Bill Simpson 12/05/12 1:04pm
Re: Re: Solving a system of differential equati... Hazem 12/06/12 11:42pm
Re: Solving a system of differential equations Peter Pein 02/05/13 06:55am
Next Comment >Help | Reply To Topic