MathGroup Archive 2003

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38812] Getting rid of the arrow in FindRoot output (newbie question)
  • From: David Jones <djones at REMOVE_THIS.borve.demon.co.uk>
  • Date: Tue, 14 Jan 2003 06:10:56 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi, this is a newbie question, I am just starting to learn how to use
Mathematica.

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

E.g.
           p := FindRoot[x + Log[x] == 5, {x, 1}]
           Print[p]

gives the output

           {x -> 3.69344}

and then if I change

           Print[p]

to

           Print[p + 1]

then the output is

           {1 + (x -> 3.69344)}

I need to have the output as a number so as to be able to put it into
other functions and plot it.

Cheers,

David
-- 
David Jones


  • Prev by Date: non-linear equations not covered by built-in procedures
  • Next by Date: Re: Position of tick labels in 2D plots
  • Previous by thread: Re: non-linear equations not covered by built-in procedures
  • Next by thread: Re: Getting rid of the arrow in FindRoot output (newbie question)