|
⇤ ← Revision 1 as of 2010-12-17 05:28:16
Size: 417
Comment:
|
← Revision 2 as of 2010-12-17 05:35:29 ⇥
Size: 495
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>
