Re: Solve and using the solutions further
- To: mathgroup at smc.vnet.net
- Subject: [mg38298] Re: Solve and using the solutions further
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 12 Dec 2002 01:31:19 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <at4c5l$eno$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
a small example
sol = Solve[{0 == x^2 + y, -1 == x + y}, {x, y}];
and
Select[sol, (x /. #) > 0 &]
will return the solution with positive x.
Regards
Jens
Angela Birk wrote:
>
> Hi,
> I am trying to solve 3 equations on 3 variables --- which is solveable.
> After that I want to use only the positive solutions of the three
> variables for further calculations. I tried to use the Select command in
> connection with the Solve command, but I get only an empty list.
>
> Could you help by recommend commands?
>
> Thank you in advance.
> Regards
> Angela Birk
>
> --
> Angela Birk
> University of Hamburg
> HWWA
> Economics
> 20347 Hamburg, Germany
> +49 40 42834 - 478