C Program to Find Inverse Of 3 x 3 Matrix in 10 Lines
Program : Finding Inverse of a 3 X 3 Matrix
Output :
Explanation :
Suppose we have to find Inverse of -
Step 1 :
- Create One Matrix of Size 3 x 6
- i.e Create 3 x 3 Matrix and Append 3 x 3 Unit Matrix
Step 2 :
- Factor = a[0][0]
- Now For First Row : Divide all Elements by Factor Itself
Step 3 :
- Now Factor = a[1][0] and Apply Following Formula to 2nd Row
Step 4 :
- Now Factor = a[2][0] and Apply Following Formula to 3rd Row
Step 5 :
- Now Call Reduction Function Again
- So In 2nd Call 2nd Row will be Master Row