Write a c++ program that implements the naïve gaussian
Write a C++ program that implements the Naïve Gaussian Elimination and Gaussian Elimination with Partial
Pivoting (See class notes.) for linear systems.
1. Name your source file YourLastName5.cpp.
2. All floating point arithmetic will be double precision.
3. Input to the main program
• data file name
• sequence of augmented matrices each of which represents a linear system
4. Program output:
For each linear system
• Original augmented matrix
• Upper triangular matrix obtained by the Naïve Gaussian Elimination
• Solution from the Naïve Gaussian Elimination
• Upper triangular matrix obtained by the Gaussian Elimination with Partial Pivoting
• Solution from the Gaussian Elimination with Partial Pivoting