When do image sets resolve to finite sets when intersected with an 
interval? For example:

I'm seeing that this looks great:

solveset(sin(x),domain = Reals).intersect(Interval(2,50))
{𝜋,2𝜋,3𝜋,4𝜋,5𝜋,6𝜋,7𝜋,8𝜋,9𝜋,10𝜋,11𝜋,12𝜋,13𝜋,14𝜋,15𝜋}
 
but

solveset(sin(sqrt(x)),domain = Reals).intersect(Interval(2,50))
[2,50]∩{𝑥2|𝑥∈[0,∞)∩{𝑛𝜋|𝑛∈ℤ}}

or

solveset(sin(sqrt(x)),domain = Reals).intersect(Interval(2,5))
[2,5]∩{𝑥2|𝑥∈[0,∞)∩{𝑛𝜋|𝑛∈ℤ}}

Don't resolve to finite set. I'm looking at the source for imageset but I 
can't figure out why these don't resolve. Any direction on how this works 
would be much appreciated!!



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/115a7357-1db5-402a-843a-3cc2510c9dd1n%40googlegroups.com.

Reply via email to