subject
Engineering, 14.02.2020 05:47 shelbylynn17

Enter the matrix A and the vector b in MATLAB:

A = [4 1 2 −3; −3 3 −1 4; −1 2 5 1; 5 4 3 −1] , b = [−16;20;−4;−10]

The exact solution to the system Ax = b is the vector x = (−1, 1, −2, 3)^T .

(a) Enter [L, U,P] = lu(A) to find the LU decomposition of the matrix P A (don’t forget that you will need P*b). Verify that P A = LU.

(b) Use the LU decomposition you found in part (a) to solve the system Ax = b. Call the computed solution x_lu.

(c) Enter the vector x and compare your solution x lu from part (b) with the exact solution x by computing norm(x_lu - x)

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:20
The characteristic roots of a dynamic system are: 1.7920 1.8160 i, -1.7920 1.8160 i, -0.4160 what is the order of this system? what are the settling time and damping ratio of the system?
Answers: 3
question
Engineering, 04.07.2019 19:10
An engine, weighing 3000 n, is supported on a pedestal mount. it has been observed that the engine induces vibration into the surrounding area through its pedestal at the maximum operating speed. determine the stiffness of the dynamic vibration absorber spring in (n/m) that will reduce the vibration when mounted on the pedestal. the magnitude of the exciting force is 250 n, and the amplitude of motion of the auxiliary mass is to be limited to 2 mm note: in this question type-in right numbers, no decimals, no fractions, no unit. approximate to right number if needed
Answers: 3
question
Engineering, 06.07.2019 03:10
What is the direction and how to operate the lathe?
Answers: 2
You know the right answer?
Enter the matrix A and the vector b in MATLAB:

A = [4 1 2 −3; −3 3 −1 4; −1 2 5 1; 5 4 3...
Questions
Questions on the website: 13722363