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

• To: mathgroup at smc.vnet.net
• Subject: [mg111749] Re: How to use the result of Solve in Plot?
• From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
• Date: Thu, 12 Aug 2010 05:29:12 -0400 (EDT)
• References: <i3to1s\$sbr\$1@smc.vnet.net>

```select the [[ characters then press F1 (help) and you will be
enlightened.

Cheers -- Sjoerd

On Aug 11, 10:46 am, "Eduardo M. A. M.Mendes" <emammen... at gmail.com>
wrote:
> 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.boulbi... at iee.lu]
> Sent: Monday, August 09, 2010 6:15 AM
> Subject:  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.boulbi... 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