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
- References:
- NDSolve with square root
- From: william cuervo <wfcuervo@gmail.com>
- NDSolve with square root