Question: please have the code typed (not on paper) The inverse of a square matrix A is the matrix A^-1, such that AA^-1 = I. where

 please have the code typed (not on paper) The inverse of

please have the code typed (not on paper)

The inverse of a square matrix A is the matrix A^-1, such that AA^-1 = I. where I, is the Identity Matrix. A square matrix A has an inverse iff (if and only if) the determinant |A|notequalto 0. The matrix having an inverse is called a nonsingular, or invertible matrix. A = [a_11 a_12 a_13 a_21 a_22 a_23 a_31 a_32 a_33] (1) The inverse of the above matrix is given by: A^-1 = 1/det(A) [|a_22 a_23 a_32 a_33| |a_13 a_12 a_33 a_32| |a_12 a_13 a_22 a_23| |a_23 a_21 a_33 a_31| a_11 a_13 a_31 a_33| |a_13 a_11 a_23 a_23| |a_21 a_22 a_31 a_32| |a_12 a_11 a_32 a_31| |a_11 a_12 a_21 a_22| (2) b. Using equations 1 and 2, develop a C++ program using Two Dimensional arrays and pointers in a function named matrix inverse_ptr() to return the inverse of a nonsingular matrix. The program should have the capability of identifying a singular or non-singular matrix. Write all the functions using pointers only. a. Draw a detailed flow chart on how this program Ls designed, indicating the inputs, outputs and the algorithm you use. The flow chart should be included as a document file along with your program listing (source code)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!