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: [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.
> 
> 


  • Prev by Date: Import Problem Further Explanation
  • Next by Date: Re: simple cipher
  • Previous by thread: Re: findroot
  • Next by thread: Do loop is faulty