syms x y z
eqn1 = 2*x^2 + y + z == 2;
eqn2 = -x + y - z +1== 3;
eqn3 = 2*y + 3*z == -10;
sol = solve([eqn1, eqn2, eqn3], [x, y, z]);
sol.x
sol.y
sol.z
that's ok,but isn't...
syms x y z
eqn1 = 2*x^2 + y + z == 2a;
eqn2 = -x + y - z +b == 3;
eqn3 = 2*y +c + 3*z == -10;
sol = solve([eqn1, eqn2, eqn3], [x, y, z]);
sol.x
sol.y
sol.z
why? Could you help me please? how do you proceed in these cases?