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

Assignment 1 Nte

Uploaded by

Shiva Srivastava
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Assignment 1 Nte

Uploaded by

Shiva Srivastava
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment 1

Q1. Solve the following system of equations


3X1+X2+2X3=6
-X1+4X2+2X3=5
2X1+X2+4X3=7
using SOR method with (i) w= 5.2 and (ii) w= 1.1 starting with X0= [0 0 0]. Also, compare the
results obtained in (i) and (ii) with the exact solutions [1 1 1]T.
Q2. Let us find an approximate solution to the nonlinear equation
Sin x + x2-1=0
using bisection method so that the resultant absolute error is at most ϵ=0.125.
Q3. Given the following equations:
(a) X4-x-10=0 (b) x- e-x=0
Determine the initial approximations for finding the smallest positive root. Use these to find the
roots up to a desired accuracy with secant and Newton-Raphson methods.
Q4. Consider the system of linear equations

With Gauss-Seidel Method and Jacobi method solve it. Determine the rate of convergence of the
method and the number of iterations needed to max {|εk|} ≤ 10-2. Compare the rate of convergence
of both methods.
Perform the number of iterations required to achieve the given accuracy starting with X0= [221]T
and compare the results with the exact solution [342]T.
Q5. Perform four iterations for the following system of equations using SOR method.

You may use w=1.25, the initial approximation is X0= [0 0 0]T. Compare the result with the exact
solution [221]T .
Q6.

Q7.

(i) by the Gauss elimination method.


(ii) by the decomposition method with u11 = u22 = u33 = 1.
Q8.

Q9. Consider the matrix

Find the eigen values and corresponding eigenvectors.


Q10. Solve the given 3-by-3 matrix by triangularisation (LU decomposition) method

You might also like