(1) Consider the following equations: 6X1 + 8x2 - 4x3 = 4 -8x1 + 18 - 9x2 = 16 -1x1 - 1.5x2 + 3.5x3 = 5 (a) Write a Matl
-
- Site Admin
- Posts: 899559
- Joined: Mon Aug 02, 2021 8:13 am
(1) Consider the following equations: 6X1 + 8x2 - 4x3 = 4 -8x1 + 18 - 9x2 = 16 -1x1 - 1.5x2 + 3.5x3 = 5 (a) Write a Matl
statement to make it True. A = [1 a b; 0 1 d; 00 1] is an L triangular matrix from LU factorization. B = [1 0 0; x 1 0; y z l] is an L triangular matrix from LU factorization. >> Y-zeros(3,3) +ones(3) (e)
(1) Consider the following equations: 6X1 + 8x2 - 4x3 = 4 -8x1 + 18 - 9x2 = 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,1:2)' = 1 (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