LA+CHAPTER+7+문제+6+solved+by+강민혁+Revised+by+김도희+Finalized+by+이종현, 김민기

2041 days ago by math2013

A=matrix([[1, 2, 0, 2, 5], [-2, -5, 1, -1, -8], [0, -3, 3, 4, 1], [3, 6, 0, -7, 2], [0, 0, 0, 0, 2], [0, 0, 0 , -1, 0]]) print "A=" print A print print "RREF(A)=" print A.rref() print "Rank(A)=" print A.rank() 
       
A=
[ 1  2  0  2  5]
[-2 -5  1 -1 -8]
[ 0 -3  3  4  1]
[ 3  6  0 -7  2]
[ 0  0  0  0  2]
[ 0  0  0 -1  0]

RREF(A)=
[ 1  0  2  0  0]
[ 0  1 -1  0  0]
[ 0  0  0  1  0]
[ 0  0  0  0  1]
[ 0  0  0  0  0]
[ 0  0  0  0  0]
Rank(A)=
4
A=
[ 1  2  0  2  5]
[-2 -5  1 -1 -8]
[ 0 -3  3  4  1]
[ 3  6  0 -7  2]
[ 0  0  0  0  2]
[ 0  0  0 -1  0]

RREF(A)=
[ 1  0  2  0  0]
[ 0  1 -1  0  0]
[ 0  0  0  1  0]
[ 0  0  0  0  1]
[ 0  0  0  0  0]
[ 0  0  0  0  0]
Rank(A)=
4