I need to solve a very simple equation x^2 + 1 = 0 and I don't want
any complex solutions.
I tried this
x = var('x')
assume(x,'real')
solve(x^2 + 1 == 0)
but the output is [x == -1*I, x == I]
Does exist any solution in order to avoid this ?--~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
