Re: Getting rid of the symbol -> after finding the root
- To: mathgroup at smc.vnet.net
 - Subject: [mg39343] Re: Getting rid of the symbol -> after finding the root
 - From: Friedrich Laher <mathefritz at schmieder-laher.de>
 - Date: Wed, 12 Feb 2003 03:51:52 -0500 (EST)
 - References: <b2ahfv$pjr$1@smc.vnet.net>
 - Sender: owner-wri-mathgroup at wolfram.com
 
Mostaghel, Naser schrieb:
> 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
> 
> 
> 
r = Solve[x^2 + a x + b == 0, x]
\!\(TraditionalForm\`{{x -> 1\/2\ \((\(-a\) - \@\(a\^2 - 4\ b\))\)}, {x ->
         1\/2\ \((\@\(a\^2 - 4\ b\) - a)\)}}\)
r[[1, 1, 2]]
isolates the 1st root
\!\(TraditionalForm\`1\/2\ \((\(-a\) - \@\(a\^2 - 4\ b\))\)\)
r[[1, 1, 2]]
isolates the 2nd root
\!\(TraditionalForm\`1\/2\ \((\@\(a\^2 - 4\ b\) - a)\)\)