Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot solve Sin and Cosine Waves DEs

Status
Not open for further replies.

Bebokkos

Chemical
Joined
Nov 9, 2010
Messages
9
Location
GR
I got a simple system of two diff. eqs; The functions in play are: z(t)=sin(t) and w(t)=cos(t). Tried to solve the system

Given
z'(t) = w(t)
w'(t) = -z'(t)
with IC: z'(0)=1 w'(0)=0
S=Odesolve(t,8?,100)

Solution fails... Even tried Rkadapt. Any ideas; (See attached MC file)..
 
If you click on the last equation it says too few initial conditions.

Tata
 
Thank Occupant. This is exactly what I wanted. I realized what my my mistake was. Thanks a lot. If you like, take a look at my other question about the nonlinear DE.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top