Gauss Elimination for any systems of equations[A][x]=[b] where [A] is an (nxn) matrix.
$30-45 USD
Completed
Posted about 20 years ago
$30-45 USD
Paid on delivery
Write a C++ program for the following Assigments
**_Transpose_** Write a computer program to genarete a transpose of a matrix nxn Using [A]= [5 0 7 ],[4 1 5],[2 6 1].
Perform **Gauss Elimantion** for any systems of equations [A][x]=[b] where [A] is an *nxn* matrix. Make sure that all of your real variables are double precision. **input: n** (#of equations), augmented matrix {[A:b]nx(n+1)}
**Output:** Solution vector {[x]i.e. X1= ,X2= , ….Xn=} or message “no unique solutions exists?? inputs and outputs should have at least four decimal places. Solve.
3x1- 0.1x2 - .2x3 = 7.85
0.1x1 + 7x2 - .3x3 = -19.3
0.3x1 ??" 0.2x2 + 10x3 = 71.4
**_Gauss-Seidel Method:_** for any systems of equations A][x]=[b] where [A] is an *nxn* matrix. Make sure that all of your real variables are double precision
**input***: n*, [A],[B], Initial guess for [X], ε(tolerance, set to 1x10^-5), N (maximum number of iterations, set to 100)
**Output**:N, solution vector {[x]i.e. X1= ,X2= , ….Xn=} or the message “solution did not converge in 'N' numbers of iterations?? inputs and outputs should have at least four decimal places.
## Deliverables
Must be submitted by Tuesday March 30, 2004. at 1:00 Pm. U.S.A central time. The Programs must work with the numbers given!
## Platform
Operting systems:
Windows XP", "in all 3.0+ versions of Internet Explorer and Netscape