Solve the system of equations using Cramer's Rule x+y+z=9,2x+5y+7z=52,.2x+y-z=0.
i want code for it
And the outline:
Did you read the algorithm description on the link I posted? The elements are as follows according to this link using the notation from the link:
Where is the matrix formed by replacing the i'th column of A by the column vector b.
You simply need to write a for-loop for this to calculate each according to the above. So your loop would look like this:
Ai = _____
x(i) = _____
You need to fill in the blanks.