This is the simple problem of Gauss Elimination. Some few steps you have to follow here:
Step: 1)
Take the value in an array by creating two loops for the matrix
Step: 2)
Make forward substitution for getting the top right values from the matrix.
Step: 3)
Make backword substitution for replcaing one value to another and get the exact values, like X1, X2 etc.
0 comments:
Post a Comment