check if the result is a real number
I get several results and want to check, which one is a real number. From trial and error, I can see that maxSol[x] is the only plausable solution.
Is there something like isReal()?
my attempt (don't laugh) ;)
for i in maxSol: print RealField(50)(i)
where I obviously get: TypeError: Unable to convert x (='.....