MATLAB Answers

Luca
0

solve system of equations without using matrices.

Asked by Luca
on 11 Jan 2018
Latest activity Answered by Luca
on 23 Jan 2018
Hi, Is it possible to solve a system of equations without using matrices? That is, Can I write a series of unordered linear equations and find the solution?

  1 Comment

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?

Sign in to comment.

1 Answer

Answer by Luca
on 23 Jan 2018

no one..

  0 Comments

Sign in to comment.