MathGroup Archive 2011

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

Search the Archive

Re: ?

  • To: mathgroup at
  • Subject: [mg120789] Re: ?
  • From: Bob Hanlon <hanlonr at>
  • Date: Thu, 11 Aug 2011 03:27:42 -0400 (EDT)
  • Delivered-to:
  • Reply-to: hanlonr at

---- David Kirkby <david.kirkby at> wrote: 

The output of FindRoot[] when trying to find a root is like:

{x -> 0.49454545}

How can I convert that list, into the number 0.49454545?

In[1]:= FindRoot[x+9,{x,-5}]

Out[1]= {x -> -9.}

In[2]:= Head[%]

Out[2]= List

I can't seem to find any "normal" operations on the list which give me
the number.


  • Prev by Date: Re: Antialising don't work in Linux!?
  • Next by Date: Re: Just another Mathematica "Gotcha"
  • Previous by thread: R: Re: Problems with NETLink C#
  • Next by thread: Re: ?