MathGroup Archive 2006

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

Search the Archive

Re: FindRoot & NDSolve

  • To: mathgroup at
  • Subject: [mg64678] Re: [mg64650] FindRoot & NDSolve
  • From: "David Park" <djmp at>
  • Date: Sun, 26 Feb 2006 05:08:00 -0500 (EST)
  • Sender: owner-wri-mathgroup at


I think you need a numerical value for a in order to use NDSolve.

If you have trouble with a statement like you have, the thing to do is copy
out the inner expressions and make certain they work.

David Park
djmp at

From: Takashi Inoue [mailto:takash-i at]
To: mathgroup at

Hi all,

This is my first post to here.
I have a problem and want your help.

Mathematica 4 did the following calculation with no pleblem,
while Mathematica 5(.2)  cannot do it.

 (f /.NDSolve[ {D[f[x], {x,1}] - 2 x - a == 0, f[0] == 0}, f, {x, -3, 3}
][[1]])[2] == 4,
 {a, -10, 10}

Does anyone know solution or altanative way to do it?

Takashi Inoue,
Dept. Phys. Sophia University

  • Prev by Date: Re: FindRoot & NDSolve
  • Next by Date: Re: Forcing surds into the numerator
  • Previous by thread: Re: FindRoot & NDSolve
  • Next by thread: Re: FindRoot & NDSolve