Those don't work for me! I'm using Sympy 1.0 with Python 2.7.12.
[code]
>>> 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 ∊ ℤ⎬⎟
⎭⎠
[/code]
--
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/c9b011de-218d-4b48-b131-0c3c048a7e61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.