MathGroup Archive 2008

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

Search the Archive

Re: NDSolve and error

  • To: mathgroup at
  • Subject: [mg92556] Re: [mg92545] NDSolve and error
  • From: Bob Hanlon <hanlonr at>
  • Date: Sun, 5 Oct 2008 06:05:14 -0400 (EDT)
  • Reply-to: hanlonr at

You typed y[t] rather than y[x]

Bob Hanlon

---- dodatki at wrote: 

Lately I wrote simple code in Mathematica

sol[p_] :=
          1 + (y'[t])^2] == (x^(p - 1) + (y[x])^(p - 1)*y'[x])/(x^p +
                y[x]^p)^(1 - 1/p), y[1] == 6}, y, {x, 1, 4}]

but when I typed sol[2] the following kind of error was shown:

NDSolve::"ndnum": "Encountered non-numerical value for a derivative at
\!\(x\) == \!\(4.587812868332132`*^-296\)."

May I know what I'm doing wrong? Or how can I improve that code to
work correctly?
Thank you in advance


Bob Hanlon

  • Prev by Date: Re: NDSolve and error
  • Next by Date: Re: Comparison between Mathematica and other symbolic systems
  • Previous by thread: Re: NDSolve and error
  • Next by thread: Re: NDSolve and error