Question: Programming Deliverables / TASKS: 1 . Download PETE 3 0 1 _ Lab 5 . zip and unzip all the files into a folder 2

Programming Deliverables/TASKS:
1. Download PETE301_Lab5.zip and unzip all the files into a folder
2. Develop codes for the Nave Gaussian Elimination (GE) as described in class. You can use the
idea of three for loops to eliminate elements in the columns (that is, zero out elements below
the diagonal ).
3. Once you coded your nave GE, reshape the code to function more efficiently using the
vectorization approach.
4. Study and understand the GE with Pivoting My_GE_naive_pivot.py
5. Implement the GE of (2) and (3) and compare with the bulti-in functions in Python
a. Use the built-in solver np.linalg.solve(A, B) to solve the linear system
b. Use the built-in function to compute the LU decomposition of a matrix.
P, L, U = scipy.linalg.lu(A).

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 Programming Questions!