MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

NDSolve


I've found a problem that NDSolve will resolve in Version 2.1,
but returns error messages in 2.2.  This involved equations of the form
y'[x] == Exp[ (a+x)^2]. 

NDSolve[ {

y'[x] == 9.212*10^-12 Exp[ -0.00692042 (x-20)^2] - c1 y[x] - 
1 1 .004 Exp[ -0.00692042 ((x-20))^2] y[x],
z'[x] == 1 1 .004 Exp[ -0.00692042 (x-20)^2] y[x] - 1 z[x],
 y[0] == 0,
 z[0] == 0 },
{y[x],z[x]}, {x,0,10000} ]/.{c1->.1}
returned 
Power::infy: Infinite expression 1/0 encountered.
twice.

This worked in 2.1.  Any idea why?

Howard Fink


  • Prev by Date: Re: Re: Simple Solve Question
  • Next by Date: Re: Extracting DSolve[]'s solution
  • Previous by thread: Wave File Conversion
  • Next by thread: Re: Extracting DSolve[]'s solution