Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write computer code that finds the inverse of a matrix using Crout LU decomposition without pivoting. Use your code to find the inverse of the
Write computer code that finds the inverse of a matrix using Crout LU decomposition without pivoting. Use your code to find the inverse of the same system from Task 1 (re-written again below). When solving for each column of the inverse matrix, performs iterative refinement and iterate until the maximum approximate error is below 0.01%. -X1 + 3x2+ 2x3-3X43xs + 4x6 + 2x7+ 7x8= 1 20000X1 + 20000X2-100000X3-50000X4 + 10000X5-20000x, + 50000X8 =-1 100000X1 100000X2+ 9990X3-40000X4-30000Xs20000xs- 10000X7 60000Xs 2 -2X1 + 4x2 + 1x3 + 3x4 + 3xs+ 7x7+ 2x8=-2 1X1 + 3X2 + 2X3r 7Xs + 2Xs + 2x7+ 4x8= 3 0.00000110.000003X2+0.000002X3-0.00000044-0.0000001Xs0.000001x5+ 0.000002X+0.000002X8 100 10X1-5X2 + 5X3-8X4 + 7xs + 4x6 + 6x7+ 3x8=-3 Write computer code that finds the inverse of a matrix using Crout LU decomposition without pivoting. Use your code to find the inverse of the same system from Task 1 (re-written again below). When solving for each column of the inverse matrix, performs iterative refinement and iterate until the maximum approximate error is below 0.01%. -X1 + 3x2+ 2x3-3X43xs + 4x6 + 2x7+ 7x8= 1 20000X1 + 20000X2-100000X3-50000X4 + 10000X5-20000x, + 50000X8 =-1 100000X1 100000X2+ 9990X3-40000X4-30000Xs20000xs- 10000X7 60000Xs 2 -2X1 + 4x2 + 1x3 + 3x4 + 3xs+ 7x7+ 2x8=-2 1X1 + 3X2 + 2X3r 7Xs + 2Xs + 2x7+ 4x8= 3 0.00000110.000003X2+0.000002X3-0.00000044-0.0000001Xs0.000001x5+ 0.000002X+0.000002X8 100 10X1-5X2 + 5X3-8X4 + 7xs + 4x6 + 6x7+ 3x8=-3
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started