AOWANG / symja

Automatically exported from code.google.com/p/symja
1 stars 0 forks source link

Regarding Quadratic Solve #48

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Given this equation Solve[((x-8.5)^2)+(y+9.5)^2==1.4,x] in online
symja. not able to get solution. 

but this equation Solve[((x-8.5556577)^2)+(y+9.551234)^2==14/10,x] gives the 
solution.

After equal == symbol, if i put decimal number, symja not giving solution. if i 
converted into faction.. it gives the solution..

Like that  this equation Solve[((x-8.5)^2/2.1)+(y+9.5)^2==14/10,x]  not giving 
the solution.. Instead of 2.1 if i give 21/10, the output is produced 

Original issue reported on code.google.com by msafiyul...@gmail.com on 28 Jun 2013 at 5:47

GoogleCodeExporter commented 8 years ago
denominator comes with deciamal number not working in solve
Solve[((x-8.5)^2/(2.1*x))+(y+9.5)^2==11/10,x] this is not working 
but Solve[((x-8.5)^2/((21/10)*x))+(y+9.5)^2==11/10,x] this is working

Original comment by msafiyul...@gmail.com on 28 Jun 2013 at 6:19

GoogleCodeExporter commented 8 years ago
Fixed with this commit for Expand:
https://bitbucket.org/axelclk/symja_android_library/commits/1604517900b842ab6fa8
7a14aa2c61bf7ce87a4b

Original comment by axelclk@gmail.com on 29 Jun 2013 at 5:08

GoogleCodeExporter commented 8 years ago
Thanks for your prompt fix.. 

Original comment by msafiyul...@gmail.com on 1 Jul 2013 at 3:23