Answered step by step
Verified Expert Solution
Question
1 Approved Answer
By typing A = round (10*rand (5)) and B = round (8*rand(5)), you will generate 2 random 5 times 5 matrices with integer entries. Use
By typing A = round (10*rand (5)) and B = round (8*rand(5)), you will generate 2 random 5 times 5 matrices with integer entries. Use these 2 matrices and MATLAB commands to compute the following matrices. AB BA (AB)^-1 (A)^-1 (B)^-1 (B)^-1 (A)^-1 (A - B) (A + B) A^2 - B^2 A^2 + AB - BA - B^2 (A - 3I)^5 (A + B)^-1 A^-1 + B^-1 Determine which, if any, of the matrices are equal. Find the solution (s) of the following linear systems. Use the MATLAB command rref to immediately find the reduced row echelon form of a matrix. Enter the coefficient matrix A and vector b. When entering the vector b, type b = [b_1 b_2 b_3].' The ' indicates transpose and changes b from a row vector to a column vector. Type rref([A b]). This is asking for the reduced row echelon form of the augmented matrix [A b]. For each system write by hand all solutions (or state that there is no solution) on your printout near the problem. 2x_1 + x_2 + 3x_3 + 2x_4 = -4 -x_1 - x_3 + x_4 = 2 3x_1 - 2x_2 + x_3 + 4x_4 = -21 4x_1 + 7x_2 + 5x_3 + 4x_4 = 12 2x_1 + 6x_2 - 3x_3 - x_4 + 18x_5 + 2x_6 = -103 x_2 + 3x_3 + 4x_4 + 12x_5 + 9x_6 = -61 -2x_1 + 3x_2 - 5x_5 + 6x_6 = 63 -x_1 + 7x_2 + 8x_3 + 12x_4 + 39x_5 + x_6 = -208 7x_1 + 4x_2 - 3x_3 + 5x_4 + 66x_5 = -469 2x_1 + 6x_2 - 3x_3 = -1 x_2 + x_3 = 4 -2x_1 + 3x_2 = 0 -x_1 + 7x_2 + 8x_3 = 12 7x_1 + 4x_2 - 3x_3 = 5 x_1 - x_2 + x_3 - x_4 = 0 x_1 + 2x_2 - 3x_3 + 4x_4 = 0 3x_1 - x_2 + 2x_3 + 4x_4 = 0 - x_2 - x_3 + 2x_4 = 0 Determine the polynomial of degree 4 or less that passes through these 5 points (3, 470), (1, 10), (0, 5), (-1, 6), (2, 93), by using the rref command to solve an appropriate linear system. (See example 2 on page 26 of our text.) Yours will be a 4th degree polynomial in this form: y = a_4 x^4 + a_3 x^3 + a_2 x^2 + a_1 x + a_0. On your printout write the polynomial and the linear system you used to find it
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started