Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Evaluate the importance of the employee handbook.

Answered: 1 week ago

Question

Discuss the steps in the progressive discipline approach.

Answered: 1 week ago