Those don't work for me! I'm using Sympy 1.0 with Python 2.7.12.
>>> solveset(sin(x)-sqrt(2)/2, x, Interval(-2*pi, 2*pi))
⎧ 3⋅π ⎫ ⎧ π ⎫
⎨2⋅n⋅π + ─── | n ∊ ℤ⎬ ∪ ⎨2⋅n⋅π + ─ | n ∊ ℤ⎬
⎩ 4 ⎭ ⎩ 4 ⎭
>>> solveset(sin(x)-sqrt(2)/2, x).intersect(Interval(-2*pi, 2*pi))
⎛ ⎧ 3⋅π ⎫⎞ ⎛ ⎧ π
⎜[-2⋅π, 2⋅π] ∩ ⎨2⋅n⋅π + ─── | n ∊ ℤ⎬⎟ ∪ ⎜[-2⋅π, 2⋅π] ∩ ⎨2⋅n⋅π + ─ |
⎝ ⎩ 4 ⎭⎠ ⎝ ⎩ 4
⎫⎞
n ∊ ℤ⎬⎟
⎭⎠
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/c596965d-cad3-4088-9f39-c5987b8ffa3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.