Answered step by step
Verified Expert Solution
Question
1 Approved Answer
use matlab Problem 1: Suppose we want to solve 5 21 8 14 6 X2 14 8 13 5 5 32 2 23 11 7
use matlab
Problem 1: Suppose we want to solve 5 21 8 14 6 X2 14 8 13 5 5 32 2 23 11 7 8 7 3 6 55 11 3 11 21 17 41 12 14 2 11 23 31 9 23 22 15 23 13 24 1 11 3 19 1 26 7 7 25 8 7 23 11 26 13 9 4 24 3 25 = (1) 5 8 5 7 5 19 7 16 9 19 9 17 17 16 11 9 8 27 1 3 11 13 or co 28 1 5 7 17 12 X9 A X B 1. Use 'inv' functions in MATLAB or the like in the programming languages you are using for this homework to get the inverse of A matrix, and the result X = A-1B. Round X to 4 decimal places. 2. Program LU decomposition, backward-substitution, and forward substi- tution, to get the result X. Round X to 4 decimal places. 3. Considering the X from Q1 as the accurate results, use L-2 norm to eval- uate the relative error ||XXLull,where Xly is the result from Q2. Round |X the relative error to 4 decimal places. Problem 1: Suppose we want to solve 5 21 8 14 6 X2 14 8 13 5 5 32 2 23 11 7 8 7 3 6 55 11 3 11 21 17 41 12 14 2 11 23 31 9 23 22 15 23 13 24 1 11 3 19 1 26 7 7 25 8 7 23 11 26 13 9 4 24 3 25 = (1) 5 8 5 7 5 19 7 16 9 19 9 17 17 16 11 9 8 27 1 3 11 13 or co 28 1 5 7 17 12 X9 A X B 1. Use 'inv' functions in MATLAB or the like in the programming languages you are using for this homework to get the inverse of A matrix, and the result X = A-1B. Round X to 4 decimal places. 2. Program LU decomposition, backward-substitution, and forward substi- tution, to get the result X. Round X to 4 decimal places. 3. Considering the X from Q1 as the accurate results, use L-2 norm to eval- uate the relative error ||XXLull,where Xly is the result from Q2. Round |X the relative error to 4 decimal places
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