MathGroup Archive 2003

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

Search the Archive

Re: Getting rid of the arrow in FindRoot output (newbie question)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38825] Re: Getting rid of the arrow in FindRoot output (newbie question)
  • From: Jeff Williams <jeff at williamsnet.cc>
  • Date: Wed, 15 Jan 2003 02:19:23 -0500 (EST)
  • References: <b00rmh$pmk$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

David Jones wrote:

> How do I get rid of the arrow ("->") from the output when using
> FindRoot?

FindRoot will return a rule (indicated by the arrow).

To use the rule value you apply the rule using  "/."

Ex.

p := FindRoot[x + Log[x] == 5, {x, 1}]

x /. p

3.69344

Have fun.

J.



  • Prev by Date: Asymptote mystery...
  • Next by Date: Re: 4 Straight segments !!
  • Previous by thread: Getting rid of the arrow in FindRoot output (newbie question)
  • Next by thread: Re: Getting rid of the arrow in FindRoot output (newbie question)