0% found this document useful (0 votes)
11 views

Assignment 2 1

Uploaded by

upadhyaypiyush49
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Assignment 2 1

Uploaded by

upadhyaypiyush49
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Maulana Azad National Institute of Technology Bhopal

Department of Mathematics, Bioinformatics and Computer Applications


Academic Session: 2024-25

Assignment #2 Mathematics-III (MTH-231) Date:

1. Use Jacobi method to solve the following system of equations with x(0) = (1, 1, 1)T
as an initial approximation correct to 2 significant figures.

x − 10y + 3z = 39
10x − 2y − 5z = 26
4x − 5y + 10z = 47

What is the minimum number of iterations required to get 5 significant digit accu-
racy in the above system of equations.
[True solution: (3, −3, 2)T , no.of iteration required=36]

2. Do three iterations of Jacobi method to solve

−2x + 3y + 10z = 22
10x + 2y + z = 9
x + 10y − z = −22

with x(0) = (1, −1, 1)T as starting vector. What is the minimum number of iterations
required, so that the solution is correct to 4 decimal places.
[True solution: (1, −2, 3)T , no.of iteration required=17]

3. Solve by Gauss-Seidal method, the following system of linear equations correct upto
four significant figures.

3x + 9y − 2z = 11
4x + 2y + 13z = 24
4x − 2y + z = −8

[Ans: x=-1.423, y=2.131, z=1.956]

4. Compute the solution of the system of linear equations by Gauss-Seidel method


correct upto 3-significant figures.

6.7x + 1.1y + 2.2z = 20.5


3.1x + 9.4y − 1.5z = 22.9
2.1x − 1.5y + 8.4z = 28.8

[Ans: x=1.50, y=2.50, z=3.50]


5. Use Gauss elimination method to solve the equations
1.660x + 0.684y + 0.820z + 0.380u = −4.925
0.784x + 1.690y + 1.396z + 0.492u = 6.105
0.754x + 1.602y + 1.608z + 0.456u = 7.325
0.442x + 0.570y + 0.338z + 1.398u = −4.175
[Ans: x=-6.069,y=2.929,z=5.502,u=-3.592]
6. Apply Gauss elimination method to show that the system has no solution.
2Sinx − Cosy + 3tanz = 3
4Sinx + 2Cosy − 2tanz = 10
6Sinx − 3Cosy + tanz = 9

7. Let P2 be the set of polynomials of degree ≤ 2. Use Gauss elimination method to


find all polynomials ∈ P2 : f (1) = 2, f (−1) = 6.
8. Do five iterations of each Jacobi and Gauss Seidel method to solve
2x + 3y + 7z = 16
3x + y + z = 6
x + 5y + 3z = 10
with starting initial guess as (x, y, z) = (1, 1, 1). What is the minimum number
of iterations required, so that the solutions correct to 8 significant figures ?[True
solution: x=1.2, y=0.8, z=1.6]
9. Does the following system of equations converges for Jacobi iteration scheme for
every initial solution x0
−2x − 2y − 4z = 1
−2x − y + 2z = 2
4x + 2y + 5z = 3
If yes, justify your answer. [Ans: no]
10. Check whether the following system of linear equations is diagonally dominant or
not.
2.6x1 − 3.5x2 − 0.5x3 = 17.3
1.1x1 − 1.4x2 − 45.7x3 = 7.4
2.4x1 − x2 − 7.7x3 = 0.4
[Ans: no]
11. Find the inverse of the system of equations
x+y+z = 1
4x + 3y − z = 6
3x + 5y + 3z = 4
by using the Gauss Jordan method and hence solve the system of equations.
[Ans: x=1, y= 21 ,z=− 21 ]

You might also like