213 - A4.7 - Variable in Matrix

1923 days ago by Professor213

var('b') A = matrix([[-3,-2,-2],[-7,-2,-4],[-1,5+b,0]]) show(A) show(A.echelon_form()) 
       

                                
                            

                                
var('b,c') A = matrix([[-3,-2,-2,1],[-7,-2,-4,1],[-1,5+b,0,1]]) show(A) show(A.echelon_form()) 
       

                                
                            

                                
var('a,b,c,h') A = matrix([[1,-5,1],[-1,7,1],[3,8,h]]) show(A) show(A.echelon_form()) 
       

                                
                            

                                
var('a,b,c,h') A = matrix([[1,-5,1,a],[-1,7,1,b],[3,8,h,c]]) show(A) show(A.echelon_form()) 
       

                                
                            

                                
# change to octave mode before evaluating this cell A = [1 -5 1; -1 7 8; 3 8 6] rref(A) 
       
A =

 1 -5 1
 -1 7 8
 3 8 6


ans =

 1 0 0
 0 1 0
 0 0 1
A =

 1 -5 1
 -1 7 8
 3 8 6


ans =

 1 0 0
 0 1 0
 0 0 1