Re: Question about equations solutions?
- To: mathgroup at smc.vnet.net
- Subject: [mg13105] Re: [mg13054] Question about equations solutions?
- From: BobHanlon at aol.com
- Date: Tue, 7 Jul 1998 03:44:09 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Use this form:
a = y /. Solve[y^2+5*y*x+6*x^2==0,y]
{-3 x,-2 x}
Bob Hanlon
In a message dated 7/4/98 8:37:40 PM, ieblanc at ibm.net wrote:
>This is probably a dumb question but can anyone help.
>
>a = Solve[y^2+5*y*x+6*x^2==0,y] gives an answer of {{y->-3 x},{y->-2
>x}}
>
>and
>
>Print[a] then displays {{y->-3 x},{y->-2 x}}
>
>How do get Print or some later input to reference the actual solutions
>"2x" or "3x" instead of {{y->-3 x},{y->-2 x}}