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.

Don't use plagiarized sources. Get Your Custom Essay on
Need an answer from similar question? You have just landed to the most confidential, trustful essay writing service to order the paper from.
Just from $11/Page
Order Now

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