English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Using spreadsheet software.

2006-09-07 08:38:20 · 2 answers · asked by Devina D 1 in Education & Reference Homework Help

Show an example on a given matrix. you must show all your working(on an easy matrix)plz

2006-09-09 00:58:57 · update #1

2 answers

In an Excel worksheet, follow these steps to set up your worksheet and elminate the coefficient matrix into identity matrix as typically known as the Gaussian Elimination:

Divide equation (3) (the entire one) by the coefficient of x1.
Eliminate x1 by substracting the result in Step 1 from equation (4).
Calculate the value of x2 as a result from Step 2.
Substitute the x2 value from Step 3 into equation (3) to obtain the value of x1. Record the value of x1 in a separate cell.
In the above steps, use cell references throughout instead of the values of the coefficients. Change the coefficient of x1 in equation (3) to 3×10-12, 3×10-13, 3×10-14, 3×10-15, 3×10-16, 3×10-17, 3×10-18, 3×10-19, and 3×10-20. Record the values of x1 everytime you change the coefficient.
Apply the full pivoting technique and redo the Gaussian Elimination above. Use 3×10-18 as the coefficient of x1 in equation (3).

After finishing the exercise above, again change the coefficient of x1 in equation (3) to 3×10-12 ~ 3×10-20 as you did in Step 5 above, but instead we will use the inverse method as outlined in Problem 1 to obtain the solutions. Record the values of x1 and compare them with those you obtained from the elimination procedure above.




A commonly used method for transforming a given matrix into an upper-triangular matrix is Gaussian Elimination.

Gaussian Elimimation
1.procedure GAUSSIAN ELIMINATION (A, b, y)
2.begin
3.for k := 0 to n1 do/* Outer loop */
4.begin−
5.for j := k + 1 to n1 do
6.A[k; j] := A[k; −
j]=A[k; k];/* Division step */
7.y[k] := b[k]=A[k; k];
8.A[k; k] := 1;
9.for i := k + 1 to n1 do
10.begin−
11.for j := k + 1 to n1 do
12.A[i; j] := A[i; j −
]A[i; k]A[k; j]; /* Elimination step */
13.b[i] := b[i]A[i; k]− y[k];×
14.A[i; k] :=−×
0;
15.endfor;/* Line 9 */
16.endfor;/* Line 3 */
17.end GAUSSIAN ELIMINATION


Serial Gaussian Elimination
Gaussian Elimination
The computation has three nested loops – in the kth iteration of the outer loop, the algorithm performs (nk)2 computations. Summing from k = 1::n, we have roughly ( −n3=3) multiplications- subtractions.

2006-09-07 08:44:41 · answer #1 · answered by god knows and sees else Yahoo 6 · 0 0

Whatchu talkin about, Willis?

2006-09-07 08:43:54 · answer #2 · answered by Anonymous · 0 1

fedest.com, questions and answers