Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Nov 9, 2010
9
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)..
 
Replies continue below

Recommended for you

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