Re: How to use the result of Solve in Plot?

• To: mathgroup at smc.vnet.net
• Subject: [mg111716] Re: How to use the result of Solve in Plot?
• From: "Eduardo M. A. M.Mendes" <emammendes at gmail.com>
• Date: Wed, 11 Aug 2010 04:47:11 -0400 (EDT)

```Hello

First of all I would like to thank you who help me with my question.  Thanks
for the patience and for the time.

Second, for Alexis (Thanks, I have added another Solve and it worked just
fine).  Could you explain what is the idea behind  [[1,1,2]]?

Many thanks

Ed

-----Original Message-----
From: Alexei Boulbitch [mailto:alexei.boulbitch at iee.lu]
Sent: Monday, August 09, 2010 6:15 AM
To: mathgroup at smc.vnet.net
Subject: [mg111716] [mg111666] Re: How to use the result of Solve in Plot?

Hi, Ed, try this:

Plot[Solve[{5*x + 4*y == 12}, y][[1, 1, 2]], {x, 0, 2}]

Have fun, Alexei

Hello

I want to use the result of Solve[{5*x+4*y==12},{y}] in Plot[.,{x,0,2}].
Plot[Solve[.],{x,0,2}] does not work.

Many thanks

Ed

PS. I am new to Mathematica.

--
Alexei Boulbitch, Dr. habil.
Senior Scientist
Material Development

IEE S.A.
ZAE Weiergewan
11, rue Edmond Reuter
L-5326 CONTERN
Luxembourg

Tel: +352 2454 2566
Fax: +352 2454 3566
Mobile: +49 (0) 151 52 40 66 44

e-mail: alexei.boulbitch at iee.lu

www.iee.lu

--

This e-mail may contain trade secrets or privileged, undisclosed or
otherwise confidential information. If you are not the intended
recipient and have received this e-mail in error, you are hereby
notified that any review, copying or distribution of it is strictly
prohibited. Please inform us immediately and destroy the original