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, 03.07.2019 14:10, cowgyrlup124
Explain the difference laminar and turbulent flow. explain it with the shear stress and the velocity profiles.
Answers: 1
image
Engineering, 04.07.2019 18:10, heidiburgos1own6c0
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
image
Engineering, 04.07.2019 18:10, anna22684
Water at 70°f and streams enter the mixing chamber at the same mass flow rate, determine the temperature and the quality of the exiting stream. 0 psia is heated in a chamber by mixing it with saturated water vapor at 20 psia. if both streams enters the mixing chamber at the same mass flow rate, determine the temperature and the quality of the existing system.
Answers: 2
image
Engineering, 04.07.2019 18:10, xboxdude06
Slip occurs via two partial dislocations because of (a) the shorter path of the partial dislocation lines; (b) the lower energy state through partial dislocations; (c) the charge balance.
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 in other subjects:

Konu
Arts, 29.09.2021 01:00
Konu
Chemistry, 29.09.2021 01:00