Question: Let A = 2 0 1 4 5 2 , B = 7 5 1 1 4 3 , C = 1 2 2 1

Let
A =
201
452
, B =
751
143
, C =
12
21
,
and
D =
35
14
, x =
5
3
.
You may have noticed that these are the same matrices from question 1 of the written
assignment for homework 2. Write a python script that does the followng:
a.) Assigns each of the matrices to a variable with the same variable name as the
matrices listed above. For example: you should save x = np.array([[-5],[3]]).
b.) Computes B 1
2 A and assigns it to the variable ans1.
c.) CD and assign it to the variable ans2.
d.) A +3B and assign it to the variable ans3.
e.) DB and assign it to the variable ans4.
f.) Cx and assign it to the variable ans5.
g.) AT + BT and assign it to the variable ans6.
h.)(CD)T and assign it to the variable ans7.
2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!