MathGroup Archive 2003

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

Search the Archive

Re: Re: Getting rid of the symbol -> after finding the root


Hi,
ReplaceAll will help.

e.g.

ans = FindRoot[Exp[x]==x^2, {x, -0.5}]
{x -> -0.703467}

x /. ans
-0.703467

OR

ReplaceAll[x,ans]
-0.703467

Yas


On Tue, 11 Feb 2003, Mostaghel, Naser  wrote:

>
> Dear Friends,
> I need to use the root of a simple equation in subsequent operations.
> After extracting the root, it comes in the form ->root.  I have not been
> able to get rid of the symbol -> .
>
> Can someone help?
>
> Thanks,
>
>
> Naser Mostaghel
> Professor, Civil Engineering
> T: (419) 530-8131
> F: (419) 530-8116
> E: nmostag at utnet.utoledo.edu
>
>
>
>



  • Prev by Date: a first-time user question
  • Next by Date: Re: Shortcut to select cell?
  • Previous by thread: Re: Re: Getting rid of the symbol -> after finding the root
  • Next by thread: Re: Getting rid of the symbol -> after finding the root