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

Assignment Numerical

The document describes various numerical methods to solve equations and compute integrals. It provides examples of using bisection, Regula-Falsi, Newton-Raphson, Gauss elimination, Gauss-Seidel, LU factorization to solve equations. Methods like trapezoidal rule, Simpson's 1/3 rule, Lagrange interpolation, Euler's method, modified Euler's method and Runge-Kutta method are applied to evaluate integrals and solve differential equations. The document tests the ability to apply these methods to problems and accurately compute results to various levels of precision.

Uploaded by

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

Assignment Numerical

The document describes various numerical methods to solve equations and compute integrals. It provides examples of using bisection, Regula-Falsi, Newton-Raphson, Gauss elimination, Gauss-Seidel, LU factorization to solve equations. Methods like trapezoidal rule, Simpson's 1/3 rule, Lagrange interpolation, Euler's method, modified Euler's method and Runge-Kutta method are applied to evaluate integrals and solve differential equations. The document tests the ability to apply these methods to problems and accurately compute results to various levels of precision.

Uploaded by

Rahul Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Assignment : Numerical & Statistical Methods

Subject Code: MATH2002


Module-I & II

1. Use Bisection Method to solve the following equations:


(a) f ( x)  x  log e x  2  0 , correct 3 significant figures. [Ans: 1.56]

(b) f ( x)  xex  1  0, correct upto 2 decimal places. [Ans: 0.57]

2. Use Regula-Falsi Method to solve the following equations:


(a) f ( x)  2 x  log 10 x  7  0 correct upto 3 decimal places. [Ans: 3.789]
(b) f ( x)  sin x  cos x  1  0, correct upto 4 significant figures.[Ans: 1.571]

3. Use Newton-Rapshson Method to solve the following equations:


(a) f ( x)  x  log e x  2  0 , correct upto 4 significant figures. [Ans: 1.557]
(b) Evaluate 5
3 correct upto 5 significant figures.

4. Solve the following system of linear equations by Gauss Elimination method:


x  4y  z  5 2 x  y  3z  4
(a) x  y  6 z  12 (b) x z 2
3x  y  z  4 2y  z  3

[Ans: x=181/71, y=89/71, z=188/71] [Ans: x=1, y=1, z=1]

5. Solve the following system of linear equations by Gauss- Seidel Method:

2 x  10 y  z  13
(a) 10 x  y  z  12 correct upto 2 decimal places.
2 x  2 y  10 z  14
 x  0.99 
 Ans : y  0.99
 
 z  1.00 

x  4 y  2 z  17
(b) x  2 y  4 z  16 correct upto 3 decimal places.
6 x  y  4 z  13
 x  1.091 
 Ans : y  2.818
 
 z  2.318 

6. Solve the following system of linear equations by LU-Factorization Method :


3x  y  2 z  1 3x  4 y  2 z  15
(a) 2 x  4 y  z  3 (b) 5 x  2 y  z  18
7x  y  z  3 2 x  3 y  2 z  10

[Ans: x=1/4, y=3/4, z=1/2] [Ans: x=3, y=2, z=-1]

7. Find the missing term from the table

x 0 1 2 3 4
Y 1 3 9 -- 81
[Ans. 31]

8. Find missing terms from the following table

x 0 1 2 3 4 5
y=f(x) 7 -- 13 22 -- 52

[Ans. f(1)=8, f(4)=35]

9. Find tan 0.12, tan 0.26 and tan 0.35, tan 0.5 from the following table

x 0.10 0.15 0.20 0.25 0.30


y=tan 𝑥 0.1003 0.1511 0.2027 0.2553 0.3093
[Ans. tan 0.12 = 0.1205, tan 0.26 = 0.2662, tan 0.35 =
0.365300 , tan 0.5 = 0.5543]

11. Write down the interpolating polynomial expression using the following data and
hence find f(0.5)

x -1 0 1 2
y=f(x) 1 1 1 -3

1
[Ans. − 3 (2𝑥 3 − 2𝑥 − 3)]

12. Find the Lagrange interpolating polynomial of degree 2 approximating the


function y  ln x defined by the tabular values. Hence find ln 2.7 .
x 2 2.5 3.0
y  ln x 0.69315 0.91629 1.09861

. [Ans. f ( x)  0.08164 x 2  0.81366 x  0.60761, ln 2.7 =0.9941164]

1
13. Evaluate ∫0 √1 − 𝑥 2 𝑑𝑥 using Trapezoidal and Simpson’s 1/3 rule for n=6.
[Ans. 0.765496, 0.777532]

14. Find from the table, the area under the curve & the x-axis from x=7.47 to x=7.52
x 7.47 7.48 7.49 7.50 7.51 7.52
f(x) 1.93 1.95 1.98 2.01 2.03 2.06
[Ans. 0.0996]
5
15. Evaluate ∫1 𝑙𝑜𝑔10 𝑥 𝑑𝑥 taking n=8 by using suitable numerical method.
[Ans: 1.750505025]

𝑑𝑦
17. Use Euler’s method to compute 𝑦(0.2) & take ℎ = 0.05, = 𝑥 2 + 4𝑦, 𝑦(0) = 1.
𝑑𝑥

[Ans. 𝑦(0.5) = 1.82524, 𝑦(0.1) = 1.0933, 𝑦(0.15) = 1.7286, 𝑦(0.2) = 2.0754]

𝑑𝑦
18. Find 𝑦(0.2), 𝑦(0.5) by Modified Euler’s method for 𝑑𝑥 = log10 (𝑥 + 𝑦), 𝑦(0) = 1,
take ℎ = 0.2.

[Ans. 𝑦(0.2) = 1.0082, 𝑦(0.5) = 1.0490]

𝑑𝑦 1
19. Use RK method to find 𝑦(0.5) and 𝑦(1) for 𝑑𝑥 = 𝑥+𝑦 , 𝑦(0) = 1 by taking h=0.5.

[Ans. y(0.5)=1.357, y(1)=1.584]

You might also like