Simplify the solution
Issue #159
closed
Hi,
I'm running the next code (with the latest changes you committed) IExpr exp = util.evaluate("Solve(x==2.0Sqrt(y)Sqrt(z),y)");
And get the next solution: {{y->0.25*(x/Sqrt(z))^2.0}}
How can I change the solution to be: {{y->0.25*x^2/z}}
Thanks
Comments (3)
-
repo owner -
Hi, Thanks for the response. Can I do something so the "numeric mode" will give me the my expected result?
-
repo owner - changed status to closed
Please use the Github issue tracker to open a new issue if this issue shouldn't be closed Github issues
- Log in to comment
This kind of simplification is only done in "exact mode":
If you use floating point numbers like 2.0 you are in "numeric mode" and this simplification isn't done.