Hello - I'm trying to use Sympy Live to debug an issue with a program I'm
writing. When I try to use solveset for sin(x)=1/2, I get no solutions.
Apparently it thinks there's a tiny complex portion to the solution.
Why am I running into this? Ironically I'm not running into this problem in
my own script - maybe it's a version issue?
Kevin
solveset(Eq(sin(x),1/2),x,S.Reals)
∅
solveset(Eq(sin(x),1/2),x,S.Complexes)
{−i(i(2nπ+0.523598775598299)−1.11022302462516⋅10−16)∣∣n∈Z}∪{−i(i(2nπ−
0.523598775598299+π)−1.11022302462516⋅10−16)∣∣n∈Z}
--
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/c98b1ad9-133b-484d-860a-00c48a7d339en%40googlegroups.com.