Pseudocode
A) Accepting input of nine number and presenting it in matrix form
Start
Set a new double [ ] [ ] array
for each row i from 0 to matrix length
for each column j from 0 to array size
end loop
Display Please Key In For a
Input a, (i+1), (j+1)
for each row i from 0 to matrix length
for each column j from 0 to array size
Output matix[i][j], \t
B) Calculation of Determination
Calculate determination = (matrix[0][0] * matrix[1][1] * matrix[2][2]) + (matrix[0][1]
* matrix[1][2] * matrix[2][0]) + (matrix[0][2] * matrix[1][0]
* matrix[2][1]) - (matrix[0][2] * matrix[1][1] * matrix[2][0])
- (matrix[0][0] * matrix[1][2] * matrix[2][1]) - (matrix[0][1]
* matrix[1][0] * matrix[2][2])
Output Determination, determination
C) Calculation of the minor matrix and presenting it in matrix form
Display Minor Matrix:
Calculate Minor = double a11 = (matrix[1][1] * matrix[2][2]) - (matrix[1][2] * matrix[2][1])
double a12 = (matrix[1][0] * matrix[2][2]) - (matrix[1][2] * matrix[2][0])
double a13 = (matrix[1][0] * matrix[2][1]) - (matrix[1][1] * matrix[2][0])
double a21 = (matrix[0][1] * matrix[2][2]) - (matrix[0][2] * matrix[2][1])
double a22 = (matrix[0][0] * matrix[2][2]) - (matrix[0][2] * matrix[2][0])
double a23 = (matrix[0][0] * matrix[2][1]) - (matrix[0][1] * matrix[2][0])
double a31 = (matrix[0][1] * matrix[1][2]) - (matrix[0][2] * matrix[1][1])
double a32 = (matrix[0][0] * matrix[1][2]) - (matrix[0][2] * matrix[1][0])
double a33 = (matrix[0][0] * matrix[1][1]) - (matrix[0][1] * matrix[1][0])
Assign values into an array = a11
Assign values into an array = a12
Assign values into an array = a13
Assign values into an array = a21
Assign values into an array = a22
Assign values into an array = a23
Assign values into an array = a31
Assign values into an array = a32
Assign values into an array = a33
for each row i from 0 to matrix length
for each column j from 0 to array size
Output matrix[i][j], \t
D) Calculation of the cofactor matrix and presenting it in matrix form
Display Cofactor Matrix:
Calculate Cofactor = matrix[0][1] = a12 = -(a12)
matrix[1][0] = a21 = -(a21)
matrix[1][2] = a23 = -(a23)
matrix[2][1] = a32 = -(a32)
for each row i from 0 to matrix length
for each column j from 0 to array size
Output matrix[i][j], \t
E) Calculation of the adjoint matrix and presenting it in matrix form
Display Adjoint Matrix:
Calculate Adjoint = matrix[0][1] = a21
matrix[0][2] = a31
matrix[1][0] = a12
matrix[1][2] = a32
matrix[2][0] = a13
matrix[2][1] = a23
for each row i from 0 to matrix length
for each column j from 0 to array size
Output matrix[i][j], \t
F) Calculation of the matrix inverse and presenting it in matrix form
Calculate Inverse = matrix[0][0] = (1/determination) * a11;
matrix[0][1] = (1/determination) * a12;
matrix[0][2] = (1/determination) * a13;
matrix[1][0] = (1/determination) * a21;
matrix[1][1] = (1/determination) * a22;
matrix[1][2] = (1/determination) * a23;
matrix[2][0] = (1/determination) * a31;
matrix[2][1] = (1/determination) * a32;
matrix[2][2] = (1/determination) * a33;
for each row i from 0 to matrix length
for each column j from 0 to array size
Output matrix[i][j], \t
End