Re: findroot
- To: mathgroup at smc.vnet.net
- Subject: [mg55379] Re: [mg55367] findroot
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Mon, 21 Mar 2005 03:01:44 -0500 (EST)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
\!\(\(eqn = Exp[x] == x\^2;\)\)
ans=x/.FindRoot[eqn,{x,-0.5}]
-0.703467
eqn/.x->ans
True
Bob Hanlon
>
> From: "dumb_founded" <andreajagger_8 at hotmail.com>
To: mathgroup at smc.vnet.net
> Date: 2005/03/20 Sun AM 04:12:03 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg55379] [mg55367] findroot
>
> 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.
>
>