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!!

Tejaswi,student,prakasam

Strang-5.6-40-U (last edited 2010-12-18 10:49:38 by tejaswi)