# Ch-4-Prob-7-New-이승진

## 2289 days ago by matrix

A=matrix(QQ, 3, 3, [2,3,-1,3,8,2,4,-1,-3]) adj_A=A.adjoint() # Compute adjoint matrix of A A_cofactor=adj_A.transpose() # Find a matrix that shows all cofactors of A print A_cofactor
 [-22 17 -35] [ 10 -2 14] [ 14 -7 7] [-22 17 -35] [ 10 -2 14] [ 14 -7 7]
B=matrix(QQ, 5, 5, [2,1,1,0,1,2,1,2,-1,1,0,0,1,2,0,1,0,3,1,1,2,1,1,2,1]) adj_B=B.adjoint() # Compute adjoint matrix of B B_cofactor=adj_B.transpose() # Find a matrix that shows all cofactors of B print B_cofactor
 [-5 5 0 0 5] [ 2 -2 0 0 -2] [-2 2 0 0 2] [ 0 0 0 0 0] [ 3 -3 0 0 -3] [-5 5 0 0 5] [ 2 -2 0 0 -2] [-2 2 0 0 2] [ 0 0 0 0 0] [ 3 -3 0 0 -3]