Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: findroot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55392] Re: findroot
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Mon, 21 Mar 2005 03:01:59 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

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