Write a program that will solve a system of linear equations of the form AX = B,

Question:

Write a program that will solve a system of linear equations of the form AX = B, where A is an n-by-n array of floating point numbers that has all entries other than those on the main diagonal equal to 0, X is an n-by-1 array of floating point numbers that represents the array of unknowns to be solved for, and B is an n-by-1 array of floating point numbers.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: