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?