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. ie
In this lab you are tasked to code a function that takes in two parameters A and and returns a column vector where is the solution to the system This system is to be solved using Gaussian Elimination using Partial Pivoting. b is given as a column vector. Name your function gaussPP.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
