Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4514 > unrolled thread

Re: NDSolve with square root

Started byGabriel Landi <gtlandi@gmail.com>
First post2011-08-21 09:38 +0000
Last post2011-08-21 09:38 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: NDSolve with square root Gabriel Landi <gtlandi@gmail.com> - 2011-08-21 09:38 +0000

#4514 — Re: NDSolve with square root

FromGabriel Landi <gtlandi@gmail.com>
Date2011-08-21 09:38 +0000
SubjectRe: NDSolve with square root
Message-ID<j2qjm0$d2o$1@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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web