MathGroup Archive 2006

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

Search the Archive

Re: differential equation solve


elvis wrote:
> another equation:
> 
> \!\(DSolve[{\(x'\)[t] == r*x[t] \((1 - x[t]\/xm)\), x[0] == x0}, x,
> t]\)
> 
> this face anothe prolbem

Assuming that the "problem" you faced is the *warning* message returned 
by DSolve, you can easily check that the returned solution is correct:

sol = DSolve[{Derivative[1][x][t] == r*x[t]*(1 - x[t]/xm), x[0] == x0}, 
x, t]

--> Solve::"ifun" : "Inverse functions are being used by (Solve), so 
some solutions may not be found; use Reduce for complete solution 
information.

--> {{x -> Function[{t}, E^(r*t)*x0*(xm/(-x0 + E^(r*t)*x0 + xm))]}}

Simplify[{Derivative[1][x][t] == r*x[t]*(1 - x[t]/xm), x[0] == x0} /. 
sol[[1]]]

--> {True, True}

HTH,
Jean-Marc


  • Prev by Date: RE: LegendPosition Problem
  • Next by Date: Re: differential equation solve
  • Previous by thread: Re: differential equation solve
  • Next by thread: Re: differential equation solve