Differences between revisions 1 and 2
Revision 1 as of 2010-12-17 05:28:16
Size: 417
Editor: 172
Comment:
Revision 2 as of 2010-12-17 05:35:29
Size: 495
Editor: 172
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
Line 13: Line 14:
print A*B
print B*A
#the matrices are similar!!
V=A*B
print V
V.eigenvalues()
R=B*A
print R
R.eigenvalues()
#the matrices are similar since the eigen values are same!!
  • Book

    Linear Algebra

    Author

    Gilbert Strang

    Edition

var('a,b,c,d,e,f,g,h')
A=matrix([[a,b],[b,c]])
B=matrix([[e,f],[g,h]])

A
B
V=A*B
print V
V.eigenvalues()
R=B*A
print R
R.eigenvalues()
#the matrices are similar since the eigen values are same!!

  • Solution by:

    • srinivas vinay, student, vardhaman college of enginnering
    • <Your Name>, <Profession>, <Organization>

Strang-5.6-1-U (last edited 2010-12-17 05:35:29 by 172)