Consider the magic matrix:
A = np.array([[17, 24, 1, 8, 15],
[23,
5, 7, 14, 16],...
Consider the magic matrix:
A = np.array([[17, 24, 1, 8, 15],
[23,
5, 7, 14, 16],
[
4, 6, 13, 20, 22],
[10,
12, 19, 21, 3],
[11,
18, 25, 2, 9]])
The matrix A has 5 row sums (one for each row), 5 column
sums (one for each column) and two diagonal sums. These 12 sums
should all be exactly the same. Verify that they are the same by
printing them and “seeing” that they are the same.
(1) Write down a 3 × 3 matrix, call it A, which is not
triangular (upper...
(1) Write down a 3 × 3 matrix, call it A, which is not
triangular (upper or lower) with nonzero deter- minant.
(2) By performing one row operation, change your matrix A into a
matrix B which has determinant 4. (If your matrix A already has
determinant 4, change it to one with determinant 5.)
(3) Compute AB and give the determinant of AB.
MATLAB
Create a matrix E, using A and B vectors as row 1 and
row 2...
MATLAB
Create a matrix E, using A and B vectors as row 1 and
row 2 respectively
A = 10 thru 1
B = 1 thru 4.2 with ten equally spaced
elements
and
Find the indices (row and col) within E where (prob02a,
b, c, d)
E = 5
E > 4
E < 1.9
E > 1 and E < 2
Apply the row operation R1 + 2R3 → R1 on the following
matrix:
2...
Apply the row operation R1 + 2R3 → R1 on the following
matrix:
2 −3 1 4
2 0 6 −5
1 −1 1 0
−→
(h) True or False: The point (2, 1) is in the following feasible
region:
x + 2y ≤ 5, 5x − 6y < 7, and x ≥ 0, y ≥ 0.
(i) True or False: (x = −1, y = 2, z = 3) is a solution to the
following...
1. Let a,b,c,d be row vectors and form the matrix A whose rows
are a,b,c,d. If...
1. Let a,b,c,d be row vectors and form the matrix A whose rows
are a,b,c,d. If by a sequence of row operations applied to A we
reach a matrix whose last row is 0 (all entries are 0) then:
a. a,b,c,d are linearly dependent
b. one of a,b,c,d must be 0.
c. {a,b,c,d} is linearly independent.
d. {a,b,c,d} is a basis.
2. Suppose a, b, c, d are vectors in R4 . Then they form a...