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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, lerasteidl
Determine whether or not it is possible to compress air adiabatically from k to 140 kpa and 400 k. what is the entropy change during this process?
Answers: 3
image
Engineering, 04.07.2019 18:20, kendrawalraven
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
image
Engineering, 04.07.2019 18:20, 21megoplin
How much power could a wind turbine produce if it had the following specifications? cp = 0.45 -d=1.2kg/m3 d=50m v 5m/s
Answers: 2
image
Engineering, 04.07.2019 19:10, jimena15
10 kg of co2 is initially contained at 400 kpa and 300 k. the gas constant for carbon dioxide is 189 j/lkg k) and has a specific heat ratio, k, of 1.289. isentropic expansion then occurs until the pressure is 200 kpa. a) determine the initial volume of co2 in m. b) determine the final temperature in k. c) determine the work done by the system during the expansion kl.
Answers: 2
You know the right answer?
Write a script (Program 2) to perform t he following matrix operations. Use output commands to clear...

Questions in other subjects: