subject
Engineering, 25.04.2020 04:46 christianmcafee

Write a script (Program 2) to perform t he following matrix operations. Use output commands to clearly output each problem with a problem description and result.

(a) Create the following three matrices: A = [ 9 3 5 /2 4 2/ 6 10 5 ] B = [ 1 4 4/ 0 9 4/ 2 6 1 ] C = [ 8 15 1/ 10 8 2/ 8 5 10 ]

(b) Calculate A + B and B + A to show that addition of matrices is commutative.

(c) Calculate A +( B + C ) and ( A + B )+ C to show that addition of matrices is associative.

(d) Calculate 8( A + C ) and 8A + 8C to show that multiplication by a scalar is distributive.

(e) Calculate A( B + C ) and AB + AC to show that matrix multiplication is distributive.

(f) Does AB = BA ?

(g) Find AT (transpose of A ).

(h) Calculate B-1 (inverse of B ).

(i) Calculate the product BB-1 .

(j) Create a 2x2 matrix consisting of the lower left elements of B .

(k) Create a row vector that is the vector sum of the first row of A and the third row of C .

(l) Calculate the dot product of the second row of B and the third column of C

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Air is to be cooled in the evaporator section of a refrigerator by passing it over a bank of 0.8-cm-outer-diameter and 0.4-m-long tubes inside which the refrigerant is evaporating at -20°c. air approaches the tube bank in the normal direction at 0°c and 1 atm with a mean velocity of 4 m/s. the tubes are arranged in-line with longitudinal and transverse pitches of sl- st 1.5 cm. there are 30 rows in the flow direction with 15 tubes in each row. determine (a) the refrigeration capacity of this system and (b) pressure drop across the tube bank. evaluate the air properties at an assumed mean temperature of -5°c and 1 atm. is this a good assumption?
Answers: 1
question
Engineering, 04.07.2019 18:10
Afluid flows with a velocity field given by v=(x/t)i.. determine the local and convective accelerations when x=3 and t=1.
Answers: 2
question
Engineering, 04.07.2019 18:10
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
Which of the following refers to refers to how well the control system responds to sudden changes in the system. a)-transient regulation b)- distributed regulation c)-constant regulation d)-steady-state regulation
Answers: 1
You know the right answer?
Write a script (Program 2) to perform t he following matrix operations. Use output commands to clear...
Questions
Questions on the website: 13722360