subject
Engineering, 17.10.2019 16:30 alexandroperez13

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: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
question
Engineering, 04.07.2019 18:10
Ajournal bearing has a journal diameter of 3.250 in with a unilateral tolerance of 20.003 in. the bushing bore has a diameter of 3.256 in and a unilateral tolerance of 0.004 in. the bushing is 2.8 in long and supports a 700-lbf load. the journal speed is 900 rev/min. find the minimum oil film thickness and the maximum film pressure for both sae 20 and sae 20w-30 lubricants, for the tightest assembly if the operating film temperature is 160°f. a computer code is appropriate for solving this problem.
Answers: 3
question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
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 −1] , b...
Questions
question
World Languages, 27.03.2021 21:30
question
English, 27.03.2021 21:30
question
Geography, 27.03.2021 21:30
question
Mathematics, 27.03.2021 21:30
question
Mathematics, 27.03.2021 21:30
Questions on the website: 13722363