||'''Book'''|| Advanced Engineering Mathematics || ||'''Author'''|| Erwin Kreyszig || ||'''Edition'''|| 8th Edition || /* code_begins */ {{{ A=matrix([[2,-1,0],[-1,2,-1],[0,-1,2]]) B=matrix([[1,1,1],[1,2,2],[1,2,3]]) Adet=A.det() Bdet=B.det() Acofr=A.adjoint() Bcofr=B.adjoint() Ainv=Acofr/Adet Binv=Bcofr/Bdet print "Inverse matrix of A: \n \n",Ainv print "\n Inverse matrix of B: \n \n",Ainv }}} /* code_ends */ * '''Solution by''': * , , * , ,