MathGroup Archive 2001

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

Search the Archive

Output of "Solve" as a list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28599] Output of "Solve" as a list
  • From: dkl2 at zahav.net.il (Doron)
  • Date: Tue, 1 May 2001 00:17:26 -0400 (EDT)
  • Organization: The Math Forum
  • Sender: owner-wri-mathgroup at wolfram.com

   Asking for "Solve" command won't give a list , for example:

In[23]:=
data = Solve[x\^2 == 4, x]
Out[23]=
{{x -> -2}, {x -> 2}}

But if I want to use the output , for example :

In[24]:=
data^3
Out[24]=
(  ( x -> (-2) }^3, ( (x -> {2) }^3  } .

the software dosen't consider x-> ... , as a number ,
but literally as "x->..." , so when asking data^3 it gives
(x->...)^3 .

Can anyone help me ? , thank you . 


  • Prev by Date: Re: Defining a function
  • Next by Date: LightYear Conversion is Incorrect in Units Package
  • Previous by thread: Re: Defining a function
  • Next by thread: Re: Output of "Solve" as a list