Consider the following equations: 6x4 + 8x2 - 4x3 = 4 - 8x1 + 18 - 9x3 = 16 -1x1 - 1.5x2 + 3.5x3 = 5 (a) Write a Matlab
-
- Site Admin
- Posts: 899566
- Joined: Mon Aug 02, 2021 8:13 am
Consider the following equations: 6x4 + 8x2 - 4x3 = 4 - 8x1 + 18 - 9x3 = 16 -1x1 - 1.5x2 + 3.5x3 = 5 (a) Write a Matlab
statement to make it True. A = [1 a b; 0 1 d: 0 0 1] is an L triangular matrix from LU factorization. B =[100; x 1 0; y z l] is an L triangular matrix from LU factorization. (e) >> Y-zeros(3,3)+ ones(3)
Consider the following equations: 6x4 + 8x2 - 4x3 = 4 - 8x1 + 18 - 9x3 = 16 -1x1 - 1.5x2 + 3.5x3 = 5 (a) Write a Matlab code to solve the system (Find A and b. Leave x alone). (b) Write the output of the following programs using the A matrix found in (a): • A(:,1:2)] (c) Match the following statements (1,2,3, and 4) with the (a), (b), (c), and (d) in the figure on the left: 1. Accurate, but Not Precise 2. Both Accurate and Precise (a) 3. Precise, but Not Accurate 4. Neither Accurate nor Precise (c) (d) (d) True or False? If False, correct the