MathGroup Archive 2004

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

Search the Archive

Re: DSolve change in v5 -- undocumented error message


Hi,

solve it by your self
ss = DSolve[{n'[t] == r*n[t]*(1 - n[t]/k)}, n[t], t]
isol=Solve[(n[t] /. ss[[1]] /. t -> 0) == n0, C[1]];
ss[[1]] /. isol[[1]] // FullSimplify

Regards
  Jens

Gareth Russell wrote:
> 
> Hi,
> 
> The following expression used to work in v4:
> 
> DSolve[{n'[t] == r*n[t]*(1 - n[t]/k), n[0] == n0}, n[t], t]
> 
> In v5, I get the message
> 
> "DSolve::bvfail: For some branches of the general solution, unable to
> solve the conditions."
> 
> Clicking on the "More" link takes me to a page in the Help Browser with
> "Notes for this message have not yet been added."
> 
> Interestingly, the expression without initial conditions works just
> like before
> 
> In[31]:=
> DSolve[{n'[t] == r*n[t]*(1 - n[t]/k)}, n[t], t]
> 
> Out[31]=
> \!\({{n[t] \[Rule] \(\[ExponentialE]\^\(r\ t + k\ C[1]\)\ k\)\/\(\(-1\)
> + \
> \[ExponentialE]\^\(r\ t + k\ C[1]\)\)}}\)
> 
> Does anyone know what is being done differently in v5. And more
> practically, is there a way to recover v4's ability to get a solution.
> Perhaps with assumptions?
> 
> Many thanks,
> 
> Gareth Russell
> Columbia University


  • Prev by Date: Re: Computing sets of equivalences
  • Next by Date: Re: DSolve change in v5 -- undocumented error message
  • Previous by thread: Re: DSolve change in v5 -- undocumented error message
  • Next by thread: Re: DSolve change in v5 -- undocumented error message