Question: As discussed in class, performing Gaussian elimination on systems containing small values can be problematic as it leads to large multipliers and errors could be

As discussed in class, performing Gaussian elimination on systems containing small values can be problematic as it leads to large multipliers and errors could be introduced. To overcome this, Gaussian Elimination with Partial Pivoting is performed instead to solve the system. In this method the Pivot Row contains the diagonal element of largest absolute value. i.e.|aii|>|aij|
In this lab you are tasked to code a function that takes in two parameters A and b and returns a column vector x, where x is the solution to the system Ax=b. This system is to be solved using Gaussian Elimination using Partial Pivoting. b is given as a column vector. Name your function gaussPP.
As discussed in class, performing Gaussian

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!