# Ch-3-Prob-6-New-황성빈

## 2285 days ago by matrix

#elementary_matrix=matrix([[1,0,0,0,0], [0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,0,1]]) E1=elementary_matrix(5, row1=1, row2=4) E2=elementary_matrix(5, row1=0, scale=1/4) E3=elementary_matrix(5, row1=4, row2=1, scale=-7) print "E1 =" print E1 print print "E2 =" print E2 print print "E3 =" print E3
 E1 = [1 0 0 0 0] [0 0 0 0 1] [0 0 1 0 0] [0 0 0 1 0] [0 1 0 0 0] E2 = [1/4 0 0 0 0] [ 0 1 0 0 0] [ 0 0 1 0 0] [ 0 0 0 1 0] [ 0 0 0 0 1] E3 = [ 1 0 0 0 0] [ 0 1 0 0 0] [ 0 0 1 0 0] [ 0 0 0 1 0] [ 0 -7 0 0 1] E1 = [1 0 0 0 0] [0 0 0 0 1] [0 0 1 0 0] [0 0 0 1 0] [0 1 0 0 0] E2 = [1/4 0 0 0 0] [ 0 1 0 0 0] [ 0 0 1 0 0] [ 0 0 0 1 0] [ 0 0 0 0 1] E3 = [ 1 0 0 0 0] [ 0 1 0 0 0] [ 0 0 1 0 0] [ 0 0 0 1 0] [ 0 -7 0 0 1]