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
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit.explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
question
Engineering, 04.07.2019 18:10
An air conditioning system consist of a 5 cm diameter pipe, operating at a pressure of 200 kpa. the air initially enters the pipe at 15°c with a velocity of 20 m/s and relative humidity of 80%. if the heat supply throughout the process is 960 w, determine the relative humidity and the temperature at the outlet
Answers: 3
question
Engineering, 04.07.2019 18:10
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
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
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
Mathematics, 31.08.2019 11:10
Questions on the website: 13722361