2021.11.08 MATH 3110 Power method

201 days ago by calkin

A=matrix(3,3,[2,2,3,2,8,2,3,2,6]) 
       
show(A) 
       
A.eigenvalues() 
       
[0.2942319824702651?, 5.153082809578003?, 10.55268520795174?]
[0.2942319824702651?, 5.153082809578003?, 10.55268520795174?]
v=matrix(3,1,[1.,1.,1.]) 
       
show(v) 
       
v=A*v v=v/sqrt((v.transpose()*v)[0][0]) show(v) 
       
v.transpose()*v 
       
[1.00000000000000]
[1.00000000000000]