Hi people,
I have a problem where I get four solutions to an equation system. Two imaginary, one negative and one positive. Can I somehow automatically tell Mathematica to only keep the real and positive answer?
Sort of:
Solve[equation1==equation2, x]//Real//Positive
Thanks! //Freddy, Sweden
soln = Solve[eq1==eq2&& eq3==eq4&& ....&&, {x1, x2,..., xn}, Reals] ; Pick[soln, And @@@ (Positive /@ soln)]
Thanks a bunch, people! =D
It would be useful to have a complete self-contained example. Anyway, could try equation1==equation2 && x>0 as first argument to Solve.
equation1==equation2 && x>0
Solve