hello
I have been playing with assumptions(). I want to assume a>b
but solve() gives me a solution which is not consistent with this:
sage: var('a b')
(a, b)
sage: assume(a>b)
sage: assumptions()
[a > b]
sage: solve([a+b==2,a-b==0],a,b)
[[a == 1, b == 1]]
sage:
How come the solution (viz a=b=1) is not consistent with my assumption()?
--
Robin Hankin
Uncertainty Analyst
[email protected]
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org