MathematicsNEB 2076 (old course)
a) Solve by Gauss elimination or Gauss seidel method: [4] 2x + 2y + z = 6 , x y + z = 0 and 4x + 2y + 3z = 4 . b) Use the Bisection method to find solutions accurate to within 10^ 2 for x^3 7x^2 +…
8a) Solve by Gauss elimination or Gauss seidel method: [4] , and . b) Use the Bisection method to find solutions accurate to within for in . [4]
Answer
a) Solution of System of Linear Equations by Gauss Elimination Method
We solve the given system of linear equations using the Gauss elimination method (Gaussian elimination). The system is:
Step 1: Write the augmented matrix
The augmented matrix for the system is:
Step 2: Perform row operations to obtain upper triangular form
Row Operation 1: Swap and to make the leading coefficient of the first row 1.
Row Operation 2: Eliminate from and using .
Row Operation 3: Eliminate from using .
Step 3: Back substitution
From the last row:
Substitute into the second row:
Substitute and into the first row:
Final Solution:
b) Solution of in by Bisection Method
We apply the Bisection Method to find the root of the equation in the interval with an accuracy of .
Step 1: Check continuity and sign change
Evaluate at the endpoints:
Since and have opposite signs, a root exists in .
Step 2: Apply the Bisection Method
The Bisection Method formula is:
where and are the endpoints of the interval at step .
Iteration 1:
New interval:
Iteration 2:
New interval:
Iteration 3:
New interval:
Iteration 4:
New interval:
Iteration 5:
New interval:
Iteration 6:
New interval:
Step 3: Check accuracy
The interval length at this step is:
Thus, the root is approximated as the midpoint of the final interval:
Rounding to two decimal places:
Discussion
Loading…