MathGroup Archive 2006

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

Search the Archive

Re: FindRoot & NDSolve

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

Takashi,

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 earthlink.net
http://home.earthlink.net/~djmp/

From: Takashi Inoue [mailto:takash-i at sophia.ac.jp]
To: mathgroup at smc.vnet.net


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.

FindRoot[
 (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