Question

I) Use MATLAB to compute the determinants of the following two matrices.   (Use format rat) P                         &

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?

Homework Answers

Answer #1

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)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Using elementary transformations, determine matrices B and C so that BAC=I for the matrix A. Use...
Using elementary transformations, determine matrices B and C so that BAC=I for the matrix A. Use B and C to compute the inverse of A; that is, take the inverse of both sides of the equation BAC=I and then solve for A inverse. I need to find Matrix B, Matrix C, and Inverse of matrix A A= 1   2   1   1 0   1   2   0 1   2   2   1 0   -1 1   2
Let V be the vector space of 2 × 2 matrices over R, let <A, B>=...
Let V be the vector space of 2 × 2 matrices over R, let <A, B>= tr(ABT ) be an inner product on V , and let U ⊆ V be the subspace of symmetric 2 × 2 matrices. Compute the orthogonal projection of the matrix A = (1 2 3 4) on U, and compute the minimal distance between A and an element of U. Hint: Use the basis 1 0 0 0   0 0 0 1   0 1...
CHAPTER 2 MATLAB EXERCISES QUESTION 1: Enter the matrices A=[0 -4 5] and B= [-5 6...
CHAPTER 2 MATLAB EXERCISES QUESTION 1: Enter the matrices A=[0 -4 5] and B= [-5 6 7] 3 1 -2 0  -1 2 2 1 4 4 0 -3 USE MATLAB to find a) A + B b) B - 3A c) AB d) BA QUESTION 6: ENTER THE THREE MATRICES A= [1 2 3 4] B= [4 -6 3 5] 2 3 4 5 0 -3 -6 8 3 4 5 6   3 5 0 7 4 5 6 7...
Write and upload a MATLAB script to do the following. Compute the sequence S(n+1) = (2...
Write and upload a MATLAB script to do the following. Compute the sequence S(n+1) = (2 – K) S(n) – S(n-1) ;   Assume S(1) = 0, S(2) = 1; (a)    Case 1, Assume K = 1 (b)    Case 2, Assume K = 2 (c)     Case 3, Assume K = 4 Plot all of these on the same plot, for N = 1 to 20
Suppose that X follows geometric distribution with the probability of success p, where 0 < p...
Suppose that X follows geometric distribution with the probability of success p, where 0 < p < 1, and probability of failure 1 − p = q. The pmf is given by f(x) = P(X = x) = q x−1p, x = 1, 2, 3, 4, . . . . Show that X is a pmf. Compute the mean and variance of X without using moment generating function technique. Show all steps. To compute the variance of X, first compute...
Consider the probability distribution shown below. x 0 1 2 P(x) 0.05 0.50 0.45 Compute the...
Consider the probability distribution shown below. x 0 1 2 P(x) 0.05 0.50 0.45 Compute the expected value of the distribution. Consider a binomial experiment with n = 7 trials where the probability of success on a single trial is p = 0.10. (Round your answers to three decimal places.) (a) Find P(r = 0). (b) Find P(r ≥ 1) by using the complement rule. Compute the standard deviation of the distribution. (Round your answer to four decimal places.) A...
57. a. Use polar coordinates to compute the (double integral (sub R)?? x dA, R x2...
57. a. Use polar coordinates to compute the (double integral (sub R)?? x dA, R x2 + y2) where R is the region in the first quadrant between the circles x2 + y2 = 1 and x2 + y2 = 2. b. Set up but do not evaluate a double integral for the mass of the lamina D={(x,y):1≤x≤3, 1≤y≤x3} with density function ρ(x, y) = 1 + x2 + y2. c. Compute??? the (triple integral of ez/ydV), where E= {(x,y,z):...
1. What would my nursing practice look like if I didn’t consider the social determinants of...
1. What would my nursing practice look like if I didn’t consider the social determinants of health? Do I believe developing an understanding of the social determinants of health is integral to my daily practice? 2. If I consider my nursing practice over time, have I changed how I think about the social determinants of health or how being more aware of them may enhance my practice? What effect might my view of the social determinants of health have on...
Matrix Multiplication with Threads - C/C++ **Read entire question before answering** **Don't copy / paste code...
Matrix Multiplication with Threads - C/C++ **Read entire question before answering** **Don't copy / paste code without testing it. I will downvote your answer and mark as spam.** I have posted this question several times, do not copy / paste the same code that has been posted, IT DOESN'T WORK!! In this assignment you will use the Pthreads library to write a program that multiplies two square arrays and compare the difference between the imperative and parallel implementations of this...
In a small-scale regression study, we collected data on the number of children in a family...
In a small-scale regression study, we collected data on the number of children in a family Xi and the number of hours per week spent shopping Yi. The following data were obtained: i 1 2 3 4 5 6 Xi 2 6 3 1 1 9 Yi 13 17 12 12 9 22 Assume we performed a simple linear regression of Yi on Xi, i.e. E(Yi) = ?0 + ?1Xi (a) By hand compute X?X, X?Y, (X?X)-1, b, Y^(means Y-hat),...