We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, well when we have a mix of eq + ineq, but the eq (or maybe too the ineq), have imaginary values (not alls) we always will get False:
False
>>> solve([Eq(-x**3+x-1,0), x<0]) False the solution should be: {x: -(3*sqrt(69)/2 + 27/2)**(1/3)/3 - 1/(3*sqrt(69)/2 + 27/2)**(1/3)} >>> solve([Eq(-x**3+x-1,0), x>0]) False The solutions should be: [{x: -1/((-1/2 - sqrt(3)*I/2)*(3*sqrt(69)/2 + 27/2)**(1/3)) - (-1/2 - sqrt(3)*I/2)*(3*sqrt(69)/2 + 27/2)**(1/3)/3}, {x: -(-1/2 + sqrt(3)*I/2)*(3*sqrt(69)/2 + 27/2)**(1/3)/3 - 1/((-1/2 + sqrt(3)*I/2)*(3*sqrt(69)/2 + 27/2)**(1/3))}]
Thx. Cya.
The text was updated successfully, but these errors were encountered:
In [1]: solveset(Eq(-x**3+x-1,0), x, Interval(-oo, 0)) Out[1]: ∅ In [2]: solveset(Eq(-x**3+x-1,0), x, Interval(-oo, oo)) Out[2]: ⎧ ____________ ⎫ ⎪ ╱ 3⋅√69 27 ⎪ ⎪ 3 ╱ ───── + ── ⎪ ⎪ ╲╱ 2 2 1 ⎪ ⎨- ──────────────── - ────────────────⎬ ⎪ 3 ____________⎪ ⎪ ╱ 3⋅√69 27 ⎪ ⎪ 3 ╱ ───── + ── ⎪ ⎩ ╲╱ 2 2 ⎭
1st case should return ans.
Sorry, something went wrong.
mm, seems solveset have other issue here:
>>> solveset(Eq(-x**3+x-1,0), x, Interval(-oo, 0)) EmptySet() >>> solveset(Eq(-x**3+x-1,0), x, Interval(0, oo)) EmptySet() >>> solveset(Eq(-x**3+x-1,0), x, Interval(0, 0)) EmptySet()
And remember this is an example, the idea its can send more than 1 eq. Should i open a new issue for solveset?
Thx.
No branches or pull requests
Hi, well when we have a mix of eq + ineq, but the eq (or maybe too the ineq), have imaginary values (not alls) we always will get
False
:Thx. Cya.
The text was updated successfully, but these errors were encountered: