"real" form solutions

Issue #154 closed
Former user created an issue

Hi, This is not the same question as before.

I run the next code:

IExpr exp = util.evaluate("Solve(x^2+y^2==5,x)");

and gets the next results:

{{x->-I*Sqrt(-5+y^2)},{x->I*Sqrt(-5+y^2)}}

I want to get the solutions in "real" form:

{{x->Sqrt(-5+y^2)},{x->Sqrt(5-y^2)}}

How can I do it?

Comments (2)

  1. Log in to comment