The answer is very weird. But if I use other online calculators e.g. wolfram to solve it,
the solution = (0.3669, 0.3458, 0.2872), although xQ = (0,0,0.07) due to rounding.
How to fix this issue? Or is that possible to increase the tolerance of the command? Thx
Hi, I need to solve
xQ = 0
wherex = (x1, x2, 1-x1-x2)
. I use R packageRyacas
.original Q matrix:
If I used the original Q matrix for the system of equation, the solution would be undefined. (Why?)
I had to round it first, and then used
oldSolve
inRyacas
package to solve the system:The answer is very weird. But if I use other online calculators e.g. wolfram to solve it, the solution =
(0.3669, 0.3458, 0.2872)
, althoughxQ = (0,0,0.07)
due to rounding.How to fix this issue? Or is that possible to increase the tolerance of the command? Thx