Question: a) Write a function defined as: def GaussElim(Aaug): Purpose: use the Gauss Elimination method to solve the set of linear equations encoded in Aaug Aaug:

 a) Write a function defined as: def GaussElim(Aaug): Purpose: use the

a) Write a function defined as: def GaussElim(Aaug): Purpose: use the Gauss Elimination method to solve the set of linear equations encoded in Aaug Aaug: an augmented coefficient matrix of size N x N+1, containing the equation set: Ax-b return value: x-a vector (array) of size N, containing the solution to A x-b To test your function, write and call a def main0 that creates an augmented matrix, calls GaussElim, and prints the solution. Use the matrix below to demonstrate that your function gets the correct answer. Put all of this in a file named GaussElim.py. Upload that file to the BrightSpace dropbox (2736 2 3 3 446 6 9 5 3 3 (4217s) Notes: Do NOT use partial pivoting in this program. (I want everyone to get the exact same answer, and I don't want you working quite that hard). a) Write a function defined as: def GaussElim(Aaug): Purpose: use the Gauss Elimination method to solve the set of linear equations encoded in Aaug Aaug: an augmented coefficient matrix of size N x N+1, containing the equation set: Ax-b return value: x-a vector (array) of size N, containing the solution to A x-b To test your function, write and call a def main0 that creates an augmented matrix, calls GaussElim, and prints the solution. Use the matrix below to demonstrate that your function gets the correct answer. Put all of this in a file named GaussElim.py. Upload that file to the BrightSpace dropbox (2736 2 3 3 446 6 9 5 3 3 (4217s) Notes: Do NOT use partial pivoting in this program. (I want everyone to get the exact same answer, and I don't want you working quite that hard)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!