clear clc disp("the equations can be re written as AX=B where X=[x;y;z] and ") A=[5 3 7;3 26 2;7 2 10] B=[4;9;5] disp("determinant of A=") det(A) disp("Since det(A)=0,hence,this system of equation will have infinite solutions..hence,the system is consistent")