Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Iatlab question: Consider the two almost identicat systems of simulaneous linear equations: 0.11d+0.19c+0.10f=10.49d0.31c+0.21f=11.55d0.70e+0.70f=5 and 0.11d+0.19e+0.10f=10.49d0.31c+0.21f=11.55d0.70c+0.71f=5 Which we want to solve for the unknowns d,c and

image text in transcribed
image text in transcribed
Iatlab question: Consider the two almost identicat systems of simulaneous linear equations: 0.11d+0.19c+0.10f=10.49d0.31c+0.21f=11.55d0.70e+0.70f=5 and 0.11d+0.19e+0.10f=10.49d0.31c+0.21f=11.55d0.70c+0.71f=5 Which we want to solve for the unknowns d,c and f. The first system can be expressed in matrix form as A1x=b and the second system in the form. A2x=b where A1 and A2 are the two 33 coefficient matrices. x=def is the unknown 31 column vector and b is the 31 nght hand side columa vector. Wha some Mabab code to do the following (romember to test the code in Madab first before pasting it into the box below and remember to put a sembicolon at the end of each lina) ? 4. Define the 33 conflicent matrix. Al (i.e. Al = wi) 2 Dofine the 33 coefficiem manx A2(1.A2=i) 3. Define the 3 l ilght hand sish column vectar b (2,e,b=1,). A2x=b A1 and A2 are the two 33 coefficient matrices, x=def is the unknown 31 column vector and b is the 31 right hand de column vector. Write some Matlab code to do the following (remember to test the code in Matlab first before pasting it into the box below and remembe put a semi-colon at the end of each line): 1. Define the 33 coefficient matrix A1 (i.e. A1=. . 2. Define the 33 coefficient matrix A2 (i.e. A2=. ). 3. Define the 31 right hand side column vector b (i.e. b=i). 4. Use a Matlab function to find the inverse of A1 and assign that to the variable inverse A1 (i.e. inverse A1=i. 5. Use a Matiso function to find the inverse of A2 and assign that to the variable inverse_A2 (i.e. inverse A2=. ). 6. Hence calculate the solution vector x of the matrix equation A1x=b and assign that solution to the variable x1 (i.e. x1=..). 8. Use a Matiab function to find the deter the matrix equation A2x=b and assign that solution to the variable x2 (i.e. 2=. 9. Use a Matlab function to find the determinant of A1 and assign that to the variable deter_A1 (i.e. deter_A1 = ...i). Notes on what you should find: The matrices A1 and A2 are ill-conditioned. You should see that a small change in these matrices results in a large change in the solution vector x (1.e. x1 and x2 are quite different). Essentially, the matrices A1 and A2 are almost

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

T Sql Window Functions For Data Analysis And Beyond

Authors: Itzik Ben Gan

2nd Edition

0135861446, 978-0135861448

More Books

Students also viewed these Databases questions