Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'numerical solution to differential equation' topicStudent Support Forum > General > Archives > "numerical solution to differential equation"

Help | Reply To Topic
Author Comment/Response
haidong chang
04/22/97 9:38pm

I have been trying to solve this equation numerically NDSolve[{y'[t]==((1-y)*Exp[-x-a*t]*Exp[b*y])-(y*Exp[-z+c*t]*Exp[d*y]),
y[0]==0}, y, {t, 0, 4}] a, b, c, d, x and z are constants. I get this
message: NDSolve::ndnum:The right hand side of the differential equation
does not evaluate to a number at t==0 How can I solve this? The correct
value at t==0 would be y[0]->0 (It is zero to 10 decimal places) thankyou

URL: ,
Help | Reply To Topic