On Thu, Jun 4, 2009 at 4:22 PM, fred.ri...@gmail.com
wrote:
>
> I have the same question about solve(). I have a system of quadratic
> equations, and i want only the solution real of the system.
>
> I tried to define the space for all the variables i used, with assume
> () but solve() return all
I have the same question about solve(). I have a system of quadratic
equations, and i want only the solution real of the system.
I tried to define the space for all the variables i used, with assume
() but solve() return all the solution complex or real.
Does exist any solution in order to avoi
On Apr 15, 3:34 am, Diravan wrote:
> 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 ?
T
On Apr 15, 2009, at 3:34 AM, Diravan wrote:
>
> 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 t