MathGroup Archive 2001

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

Search the Archive

Re: Help! FindRoot output to list...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30976] Re: [mg30958] Help! FindRoot output to list...
  • From: BobHanlon at aol.com
  • Date: Sat, 29 Sep 2001 04:18:55 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 2001/9/28 4:20:10 AM, joal at sissa.it writes:

>I would be extremely thankful to anyone
>who can provide me with a solution for
>converting the FindRoot output list to
>a list of the 'usable' numbers.
>(With other word getting rid of the "x->"
> part of the list.)
>

Use ReplaceAll

x /. x -> 3

3

x /. FindRoot[Exp[x] == x^2, {x, 3}]

-0.7034674263898045

x /. Solve[x^3-6x^2-x+30==0, x]

{-2, 3, 5}


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: Re: Open Write?
  • Next by Date: Mathlink help needed
  • Previous by thread: Re: Help! FindRoot output to list...
  • Next by thread: Re: Help! FindRoot output to list...