SHOW OUTPUT of CODE. Do Screen shots of part (a) and (b) actually working
Posted: Fri Jul 01, 2022 5:47 am
SHOW OUTPUT of CODE. Do Screen shots of part (a) and (b)actually working
In PYTHON (Coding) In this problem we will create code to solve a matrix using Gaussian elimination without partial pivoting. (a) Create a function that takes a matrix A, number c and two integers i and j as inputs, and outputs a matrix where row j is replaced with row i times c subtracted from row j. (b) Using part (a) create a function which takes as input a matrix A and an integer i and eliminates column i. That is, it outputs a matrix using part (a) multiple times where every entry below Ai,i, the diagonal element, are 0.
In PYTHON (Coding) In this problem we will create code to solve a matrix using Gaussian elimination without partial pivoting. (a) Create a function that takes a matrix A, number c and two integers i and j as inputs, and outputs a matrix where row j is replaced with row i times c subtracted from row j. (b) Using part (a) create a function which takes as input a matrix A and an integer i and eliminates column i. That is, it outputs a matrix using part (a) multiple times where every entry below Ai,i, the diagonal element, are 0.