用MicrosoftMathematics解线性方程组解线性方程组Ax=b:linearSolve(A,b)1.有唯一解的线性方程组输入系数矩阵:A:=matrix{{2,1,-5,1},{1,-3,0,-6},{0,2,-1,2},{1,4,-7,6}}输入常数向量:b:={8,9,-5,0}解线性方程组:linearSolve(A,b)2.有无穷个解的线性方程组输入系数矩阵:A:=matrix{{1,1,-1,-1},{2,-5,3,2},{7,-7,3,1}}化为最简形:reduce(A)输入增广矩阵:A:=matrix{{1,-1,-1,1,0},{1,-1,1,-3,1},{1,-1,-2,3,-1/2}}化为行最简形:reduce(A)