Computer Oriented Numerical Methods (BCA) 3rd Sem Previous Year Solved Question Paper 2022

Practice Mode:
6.

Solve the following system of linear simultaneous equations by Gauss-Elimination method :

2x + 2y + z =12
3x + 2y + 2z = 8
5x + 10y – 8z = 10

Explanation

To solve the system of linear simultaneous equations using the Gaussian Elimination method, we'll first represent the equations in an augmented matrix form and then perform row operations to transform it into row-echelon form and ultimately into reduced row-echelon form. Here are the steps:

The original system of equations:

  1. 2x+2y+z=123

  2. x+2y+2z=85

  3. x+10y8z=10

Now, let's represent these equations in an augmented matrix [A|B]:

[22112312285110810]⎣⎡2112210128∣∣∣1238510⎦⎤

Step 1: Perform row operations to create zeros below the first element in the first column (i.e., make the first column entries below A[1,1] equal to zero):

  1. Multiply Row 1 by -0.5 and add it to Row 2:

[221123011.529.5110810]⎣⎡201211011.58∣∣∣12329.510⎦⎤

  1. Multiply Row 1 by -0.5 and add it to Row 3:

[221123011.529.5098.5113.5]⎣⎡20021911.58.5∣∣∣12329.5113.5⎦⎤

Step 2: Continue with row operations to create zeros below the second element in the second column:

  1. Multiply Row 2 by -9 and add it to Row 3:

[221123011.529.50022366]⎣⎡20021011.522∣∣∣12329.5366⎦⎤

Step 3: Perform back-substitution to find the values of x, y, and z:

From the last row, we have: 22=366    =36622=3322z=366z=22366=33

Now, substitute =33z=33 into the second row: +1.533=29.5    +49.5=29.5    =20y+1.533=29.5y+49.5=29.5y=20

Finally, substitute the values of y and z into the first row: 2+2(20)+33=123    240+33=123    27=123    2=130    =652x+2(20)+33=1232x40+33=1232x7=1232x=130x=65

 

So, the solution to the system of equations is =65x=65, =20y=20, and =33z=33.