MathGroup Archive 2011

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

Search the Archive

Re: NDSolve with square root

  • To: mathgroup at smc.vnet.net
  • Subject: [mg121006] Re: NDSolve with square root
  • From: Gabriel Landi <gtlandi at gmail.com>
  • Date: Sun, 21 Aug 2011 05:33:06 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201108201016.GAA04950@smc.vnet.net>

You can try
NDSolve[{(x'[t])^2 == 1 - x[t], x[2.1] == 0.9975`}, x, {t, -5, 5},
  SolveDelayed -> True];
Plot[{(1/4) (4 t - t^2), x[t] /. %}, {t, -5, 5}]

It at least doesn't complain. But from the plot you can still see some deviation from the exact solution.

Gabriel




  • Prev by Date: Amateur Radio
  • Next by Date: Re: CDF files now on Gyre&Gimble (math blog)
  • Previous by thread: NDSolve with square root
  • Next by thread: Re: NDSolve with square root