I try to solve for 3 variables x y z with 3 equations as below  ,     I am 
expecting something like  z = r1, x = -r1, y = -2*r1  but instead get x = y 
= z = 0 (which trivially valid though not expected).   Is this because the 
numbers used too complex (equation 2)  and have some rounding errors ?   if 
not what's the cause and how to get around it ?   Thanks  


sage version 4.6.1

solve([x + 0.106*y + 1.212*z == 0, *3.8759765625*x + 0.04801171875*y + 
3.972*z == 0*, 3.0625*x + 0.09325*y + 3.249*z == 0],[x,y,z])
[[x == 0, y == 0, z == 0]]   #not expected 


Is this due to rounding/precision error because if I replace the 2nd 
equation with another one  then it works fine  ?

solve([x + 0.106*y + 1.212*z == 0, *2.25*x + 0.841*y + 3.932*z == 0*, 
3.0625*x + 0.09325*y + 3.249*z == 0],[x,y,z])
[[x == -r44, y == -2*r44, z == r44]]    #expected

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to