Re: NDSolve and error
- To: mathgroup at smc.vnet.net
- Subject: [mg92558] Re: NDSolve and error
- From: pratip <pratip.official at gmail.com>
- Date: Sun, 5 Oct 2008 06:05:36 -0400 (EDT)
I think u typed wrongly the equation. I corrected it like this sol[p_] := NDSolve[{Sqrt[ 1 + (y'[t])^2] == (t^(p - 1) + (y[t])^(p - 1)*y'[t])/(t^p + y[t]^p)^(1 - 1/p), y[1] == 6}, y, {t, 1, 4}] Then ol = sol[2]; Plot[y[t] /. ol, {t, 1, 4}]