Question: When A is invertible, the linear system Ax = b has a unique solution. We have learned three ways to solve a linear system, and






When A is invertible, the linear system Ax = b has a unique solution. We have learned three ways to solve a linear system, and we will observe three different methods in this exercise when A is 3 x 3. . Method 1 -- Use RREF (use ParticularSolution. m) . Method 2 -- Use x = A b (use A\\bor inv (A) *b ) . Method 3 -- Use Cramer's rule (use CramersRule3x3 . m) A. Complete the following: . (1) For Method 2, we can use either A \\b or inv (A) *b in Live Editor to get a unique solution when A is invertible. . We will use the functions tic and toc to measure elapsed time for both commands A\\b and inv (A) *b. Running the file will print the elapsed times. . Do research online to compare both commands and include the following in your report. . When A is invertible, which command is faster and which command is more accurate when calculating the unique solution? . The command A\\b does not always return the same output as inv (A) *b. What does A\\b return in general? . (2) Examine the m-file function ParticularSolution. m first and we treat the determinant as zero if | det (A) |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
