Question: Use C++ please For your second code, implement Thomas' algorithm. This code should function in the same manner as the Gaussian Elimination code, and the
Use C++ please
For your second code, implement Thomas' algorithm. This code should function in the same manner as the Gaussian Elimination code, and the algorithm must be in its own subroutine and called from the main program. Use this code and Thomas' algorithm to solve the following systems of equations: 0 4.30 3.78 0 0 7.78 9.29 7.64 0 0 0 0 1.84 0 4.91 7.70 0.12 7.33 0 1.27 0 0 0 4.52 6.20 8.84 8.38 7.05 2.60 0.65 0.329.370 0 9.35 5.17 4.16 0 0 6.67 1.59 7.64 0 0 1.46 7.28 0 0 0 4.95 0 0 3.74 8.07 3.18 4.98 6.94 0.30 5.18 0 All answers must be written to a file and properly formatted by your program with exactly 3 decimal points and with proper alignment, spacing, etc. See the next page for sample output. You may write your code in any language you prefer, but you may not use MATLAB, Python, Excel
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
