Solve doesn't work well in some scenarios
Hi, There are 3 problem with Solve i encountered:
-
IExpr exp2 = util.evaluate("x=20.796855124168776"); IExpr exp = util.evaluate("Solve(x==(-1.0000000000000002)*Sqrt(y^2.0),y)"); and don't get any solution. The exp result is "{}".
-
When we run just the expression: IExpr exp = util.evaluate("Solve(x==(-1.0000000000000002)Sqrt(y^2.0),y)"); (without the line x=<?>), we get the next solution: {{y->0.9999999999999998Sqrt(x^2.0)}} And the sqrt{x^2.0} should be changed to x.
-
IExpr exp1 = util.evaluate("x=985.3698808807793"); IExpr exp2 = util.evaluate("y=89.73311105248706"); IExpr exp3 = util.evaluate("z=30.358930164378133"); IExpr exp4 = util.evaluate("w=143.26674070021394"); IExpr exp5 = util.evaluate("q=923.282853878973"); IExpr exp6 = util.evaluate("j=955.7677262340256"); IExpr exp = util.evaluate(" N(Solve(q/w==(m+2.0*y)/(m+z+x+j),m))"); And the "exp" not returns me the solution for m. Am I doing something wrong?
-
The next code doesn't return any solution: IExpr exp = util.evaluate("Solve(4.027433300199394==(110.70534+x)/(1015.3739400000001+x),x)");
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Please use the Github issue tracker to open a new issue if this issue shouldn't be closed Github issues
- Log in to comment
For the latest Symja sources (commit f932847) this program (tested under a Windows environment:) gives the same results for me as wolframalpha.com:
For the point 1.) and 2.) of your issue the Solve algorithm uses different approaches to get the different results.