||'''Book'''|| Linear Algebra || ||'''Author'''|| Gilbert Strang || ||'''Edition'''|| || /* code_begins */ {{{ print " let us take a 2X2, 3X3 and 4X4 matices in given format" A = matrix([[2,-1],[-1,2]]) print A C = matrix([[3,-1,-1],[-1,3,-1],[-1,-1,3]]) print C D = matrix([[4,-1,-1,-1],[-1,4,-1,-1],[-1,-1,4,-1],[-1,-1,-1,4]]) print D print "=========================" print " now lets find out inverse of these matrices" print A.inverse() print "" print C.inverse() print "" print D.inverse() print "=========================" print "now lets calculate A^-1 * (n+1) and equate it to given matrix to find value of c " B = A.inverse()*(3) print B print "=========================" B = C.inverse()*4 print B print "=========================" B = D.inverse()*5 print B print "=========================" print "" print "hence we conclude from the above matrices that the value of c is constant i.e = 2" }}} /* code_ends */ * '''Solution by''': * Ch.Sandeep, student, GITAM University * V.Vishnu Sarma, student, GITAM University