MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Solve problem


"Bob Hanlon" <hanlonr at cox.net> wrote in message 
news:gqkv3d$4f6$1 at smc.vnet.net...
> a1 /. Select[{{b1 -> -2, a1 -> -1}, {b1 -> 0.5, a1 -> 3}},
>  (a1 /. #) > 0 &]
>
> {3}
>
> Cases[{{b1 -> -2, a1 -> -1}, {b1 -> 0.5, a1 -> 3}},
> (a1 -> x_ /; x > 0) :> x, Infinity]
>
> {3}
>
> Or instead of using Solve use Reduce and include constraint on a1

Ok Bob.
Thank you and thank all the people that gave me
such useful info.

Bruno 



  • Prev by Date: listing related functions via autocompletion, feature request
  • Next by Date: Re: Importing data with comma as decimal separator
  • Previous by thread: Re: Solve problem
  • Next by thread: Re: coefficients but not from polynomial (variables does