Ask Your Question

Alan Moraes's profile - activity

2013-11-26 22:57:42 +0200 commented answer solve() returns 0 != 0

Thanks for the reply, ppurka.

2013-11-26 22:57:42 +0200 commented answer solve() returns 0 != 0

Thanks for the reply, ppurka. This seems to be a good opportunity to learn Lisp :-)

2013-11-26 22:57:15 +0200 received badge  Supporter (source)
2013-11-26 18:02:08 +0200 asked a question solve() returns 0 != 0

Hi,

For the code below

var('x')

eq1 = x == 0

eq2 = x != 0

solve([eq1, eq2], x)

I get the solution

[[x == 0, 0 != 0]]

I was expecting an empty solution because I guess there isn't a solution to my equations.

Is there a way to avoid such "impossible solutions" and get an empty solution instead?

Thanks