Make a list out of solutions given by Solve

*To*: mathgroup at yoda.physics.unc.edu*Subject*: Make a list out of solutions given by Solve*From*: mcdonald at delphi.umd.edu (William MacDonald)*Date*: Mon, 1 Mar 93 12:25:06 EST

The simplest way to make a list from solutions provided by Solve is to use the usual technique for dealing with substitution rules. In[1]:= Solve[(x-a)(x-b)(x-c)==0,x] Out[1]= {{x -> a}, {x -> c}, {x -> b}} In[2]:= solnlist=x/.% Out[2]= {a, c, b} -- William M. MacDonald Professor of Physics University of Maryland Internet: mcdonald at delphi.umd.edu