Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'NDSolve error' topicStudent Support Forum > General > Archives > "NDSolve error"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Abigail
09/30/04 1:23pm

Paul,

Usually I find this happens when I forget to specify somewhere that a variable is a function of time. For example:

DSolve[{y'[t]==Sin[t]-Cos[y], y[1]==1},y[t],t]

This will give the error you describe. To fix it, replace 'Cos[y]' with 'Cos[y[t]]'.

Hope this helps!!

Abigail

URL: ,

Subject (listing for 'NDSolve error')
Author Date Posted
NDSolve error Neil 09/20/04 9:13pm
Re: NDSolve error Henry Lamb 09/29/04 2:46pm
Re: NDSolve error Abigail 09/30/04 1:23pm
Re: NDSolve error M.G. Bartlett 10/07/04 7:27pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic