I'm looking for a way to solve an equation within an interval and return a list of the values. Solve doesn't guarantee to catch every solution, but Solveset seems to get me partway there: >>> solveset(sin(x) - sqrt(2)/2, x) ⎧ 3⋅π ⎫ ⎧ π ⎫ ⎨2⋅n⋅π + ─── | n ∊ ℤ⎬ ∪ ⎨2⋅n⋅π + ─ | n ∊ ℤ⎬ ⎩ 4 ⎭ ⎩ 4 ⎭ (that may not look right in a non-monospace font) That's great and all, but how do I turn that into a list of values, say, between -2*pi and pi?
-- 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/6981d8c2-cb78-44aa-a034-475deca692c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
