I) Use MATLAB to compute the determinants of the following two matrices. (Use format rat)
P Q
5 | 0 | 0 | 0 | -1 | -1 | 1 | 1 |
13 | 2 | 0 | 0 | 2 | 0 | 1 | 3 |
-6 | 4 | -1 | 0 | 2 | -1 | 1 | 2 |
10 | 0 | 3 | -2 | 1 | 0 | 3 | 3 |
II) The determinant of P could be computed without MATLAB. What general fact could have been used to do this?
III) Use MATLAB to compute the matrix R= PQ and also det(R).
IV) The determinant of R could be determined without MATLAB compute det(R). What general fact could have been used to do this?
P=[5 0 0 0;13 2 0 0;-6 4 -1 0;10 0 3 -2]
i=det(P)
Q=[-1 -1 1 1;2 0 1 3;2 -1 1 2;1 0 3 3]
j=det(Q)
R=P*Q
k=det(R)
Get Answers For Free
Most questions answered within 1 hours.