︠5e52c192-461b-4d73-8b49-f9a1b6b6afb9s︠ A=matrix(QQ, [[1,1,1,6],[1,-2,1,0],[-1,2,1,6]]) print('The matrix A is:') A print('The reduced row echelon form of the matrix A is:') A.rref() ︡d373874b-4f5c-4097-976e-ca79a6be397c︡{"stdout":"The matrix A is:\n"}︡{"stdout":"[ 1 1 1 6]\n[ 1 -2 1 0]\n[-1 2 1 6]\n"}︡{"stdout":"The reduced row echelon form of the matrix A is:\n"}︡{"stdout":"[1 0 0 1]\n[0 1 0 2]\n[0 0 1 3]\n"}︡{"done":true}︡