MathGroup Archive 2005

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

Search the Archive

Re: findroot


On 3/20/05 at 4:12 AM, andreajagger_8 at hotmail.com (dumb_founded)
wrote:

>How come you can't really store the root spat out by FindRoot in
>some variable?  You just get a set.  I want to get rid of the set
>and have the numerical root stored in some variable.

Try

r = x /. FindRoot[x^2 == 2, {x, 0.5}]
1.414213562373095
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: String to numbers
  • Next by Date: Re: findroot
  • Previous by thread: Re: findroot
  • Next by thread: Re: findroot