MathGroup Archive 2005

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

Search the Archive

Re: findroot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55387] Re: [mg55367] findroot
  • From: DrBob <drbob at bigfoot.com>
  • Date: Mon, 21 Mar 2005 03:01:54 -0500 (EST)
  • References: <200503200912.EAA28768@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

(inputs:)
eqn = x^2 - x + .015
rule = FindRoot[eqn, {x, 1}]
root = x /. rule
eqn /. rule

(outputs:)
0.015 - x + x^2
{x -> 0.984767985741636}
0.984767985741636
3.1086244689504383*^-15

Bobby

On Sun, 20 Mar 2005 04:12:03 -0500 (EST), dumb_founded <andreajagger_8 at hotmail.com> 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.
>
> Thanks.
>
>
>
>



-- 
DrBob at bigfoot.com


  • References:
    • findroot
      • From: "dumb_founded" <andreajagger_8@hotmail.com>
  • Prev by Date: Re: simple cipher
  • Next by Date: Re: Do loop is faulty
  • Previous by thread: findroot
  • Next by thread: Re: findroot