Question Numerical Method

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Questions Bank - Numerical Methods

∆𝑓(𝑥)
1. Show that ∆𝑙𝑜𝑔𝑓 𝑥 = 𝑙𝑜𝑔 1 +
𝑓(𝑥)

2. Evaluate ∆2 (2𝑥 + 1), taking 𝑕 = 1.

3. (a) Evaluate 𝑓(1) if 𝑓 0 = 2, 𝑓 2 = 6, 𝑓 4 = 10, 𝑓 6 = 15 .


5
(b). Find the percentage error in approximating 6 to 0.8333.

4. Find the value of 3 , if it is given that


2.1 = 1.45, 2.3 = 1.52, 2.5 = 1.58, 2.7 = 1.64, 2.9 = 1.7, 3.1 = 1.76.

5. Find 𝑓(4) , using appropriate method, if 𝑓 −1 = −8, 𝑓 0 = 3, 𝑓 2 = 1, 𝑓 3 = 2.

6. Use divided difference to compute 𝑓(27), if


𝑓 14 = 68.7, 𝑓 17 = 64, 𝑓 31 = 44, 𝑓 35 = 39.1
4
7. Integrate numerically 0
𝑥 2 𝑑𝑥 by Simpson’s 1/3rd rule with 4 sub-intervals.

1
8. Integrate numerically 0
𝑥 𝑑𝑥 by Trapezoidal rule with 3 sub-intervals.

6 𝑑𝑥
9. Evaluate 0 1+𝑥 2
, taking 3 ordinates.

0.5 𝑥𝑑𝑥
10. (a) Compute 0 𝑆𝑖𝑛 𝑥
taking 𝑕 = 0.25, using Simpson’s 1/3rd rule.
1
(b) Evaluate 0
cos 𝑥 𝑑𝑥 , by using Trapezoidal rule taking h=0.2, correct upto 3 significant
figures.

𝜋 1 𝑑𝑥
11. Compute the value of ‘𝜋’ from the relation = 0 1+𝑥 2
, taking 9 equal sub-intervals.
4

8 𝑑𝑥
12. (a) Evaluate 0 1+𝑥 by (i) Trapezoidal rule and (ii) Simpson’s 1/3rd rule, taking 8 equal
sub-intervals.
1 𝑑𝑥
(b) Evaluate 0 1+𝑥 , by (i) Trapezoidal rule and (ii) simpson’s 1/3rd rule taking eleven
ordinates.
0.7
(c) Find the value of 0.1 𝑒 𝑥 + 2𝑥 𝑑𝑥 taking 𝑕 = 0.1 correct upto 5-decimal place by (a)
Simpson 1/3 rule and by (b) Trapezoidal rule.

13. Solve 3𝑥 + 2𝑦 = 9.8 ; 2𝑥 + 𝑦 = 5.5 by Gauss elimination method.

14. Solve 𝑥 + 3𝑦 = 5 ; 7𝑥 + 2𝑦 = −3 by Gauss -seidel method.

15. Solve 4𝑥 + 3𝑦 = 20.91 ; 3𝑥 − 𝑦 = 6.94 by matrix inversion method.

1
16. Solve 𝑥 + 𝑦 + 𝑧 = 9 ; 2𝑥 − 3𝑦 + 4𝑧 = 13 ; 3𝑥 + 4𝑦 + 5𝑧 = 40 by Gauss elimination
method.

17. Solve 𝑥 + 𝑦 − 𝑧 = 2 ; 2𝑥 + 3𝑦 + 5𝑧 = −3 ; 3𝑥 + 2𝑦 − 3𝑧 = 6 by LU factorization


method.

18. Solve −2𝑥 + 3𝑦 + 10𝑧 = 22 ; 10𝑥 + 2𝑦 + 𝑧 = 9 ; 2𝑥 + 20𝑦 − 2𝑧 = −44 by Gauss-


seidel method.

19. Evaluate 12 to three places of decimal by Newton-Raphson’s method


20. Find the positive root of 𝑥 2 − sin 𝑥 = 0 correct upto three significant digits by the
method of bisection.

21. (a) Find the root of 𝑥 3 − 9𝑥 + 1 = 0 in [2,3] by Newton-Raphson’s method.


(b) Find a root of 𝑥 4 + 12𝑥 + 7 = 0 between – 2 and − 3 correct upto 4 places of
decimals by Newton-Raphson method.

22. Find the positive root of 𝑥 3 − 𝑥 2 − 1 = 0 by Bisection method.

23. Use Regular Falsi method to evaluate the smallest real root of the equation 𝑥𝑒 𝑥 = cos 𝑥.
7
24. Find the value of 125 by the Newton-Raphson’s method, upto three decimal places.

25. Find the value of 𝑦(0.1) by Euler’s method, from the IVP
𝑑𝑦 𝑦−𝑥
= , 𝑦 0 = 1 , taking 𝑕 = 0.02.
𝑑𝑥 𝑥+𝑦

26. Find the value of 𝑦(1.1) by Euler’s Modified method, from the IVP
𝑑𝑦 𝑦 1
+ 𝑥 = 𝑥 2 , 𝑦 1 = 1 , taking 𝑕 = 0.1.
𝑑𝑥

27. Find the value of 𝑦(1.1) by R-K method, from the IVP
𝑑𝑦
= 𝑦(𝑥 + 𝑦), 𝑦 1 = 1 , taking 𝑕 = 0.1.
𝑑𝑥

𝑑𝑦
28. Find the solution of the differential equation 𝑑𝑥 = 𝑥 2 − 𝑦 , 𝑦 0 = 1 for 𝑥 = 0.3 taking
h=0.1, using Euler’s method. Compare the result with the exact solution.

29. Find the value of 𝑦(0.4) using Runge-Kutta method of forth order with 𝑕 = 0.2, given
𝑑𝑦
that 𝑑𝑥 = 𝑥 2 + 𝑦 , 𝑦 0 = 0.8 , correct up-to 2-decimal places.

30. Find the value of 𝑦(0.6) using Euler’s modified method with 𝑕 = 0.2, given that
𝑑𝑦
= 𝑥 + 𝑦 , 𝑦 0 = 1 , correct up-to 2-decimal places.
𝑑𝑥
31. (a) Evaluate the missing term from the following table.

X 0 1 2 3 4 5
F(x) 0 --- 8 15 ---- 35
(b) Evaluate the missing term from the following table.
x 0 1 2 3 4

2
f(x) 1 3 9 --- 81

32. (a) The following table gives the normal weights of babies during the first eight months
of life.

Age (in months) 0 2 5 8


Weight (in 6 10 12 16
pound)
Estimate the weight of the baby at the age of seven months.
(b). Find 𝑓(2.28) from the following data table.

x 2.0 2.1 2.2 2.3


f(x) 1.7314 1.7811 1.8219 1.8535
(c) By applying Newton’s backward interpolation find the polynomial against the tabulated
data.
Age (in 3 4 5 6
months)
Weight (in 6 24 60 120
pound)

(d) The value of 𝑥 and corresponding functional values are as follows 11, 12, 13, 14, 15, 16,
17 and 1.0414, 1.0792, 1.1139, 1.1461, 1.1761, 1.2041, 1.2304. Find 𝑓(11.1) using
appropriate formula.

33. Find f(7) from the following data.


X 2 4 6 8
F(x) 15 28 56 89

34. (a) Show that ∆ − ∇ 𝑓 𝑥 = ∆∇𝑓 𝑥 .


(b) Show that (∆ − ∇)𝑓 𝑥 = 𝛿 2 𝑓 𝑥 .

35. Show that ∆𝑓 𝑥 = 𝐸∇𝑓 𝑥 .


36. (a) Find the polynomial from the following data and hence find 𝑓(0) by using Newton’s
Divided Difference Formula.
X -1 1 2 3
F(x) 21 15 12 3

(b) The values of 𝑠𝑖𝑛𝑥 are given below, for different values of x. Find 𝑠𝑖𝑛320 from this
table.
X 300 350 400 450 500 550
F(x) 0.5 0.5736 0.6428 0.7071 0.7660 0.8192

𝑛−1
(c) Prove that 𝑘=0
∆2 fk = ∆fn − ∆f0
37. (a) Compute 𝑓(0) from the following data by using Lagrange’s Interpolation Formula.
X -1 -2 2 4
F(x) -1 -9 11 69

(b) Given some values of the function f(x)=1/x. Find 1/2.72 from f(2.7)=0.3704,
f(2.8)=0.3571, f(2.9)=0.3448.
3
(c) Using Newton’s Divided Difference formula find 𝑓(8) .

x 4 5 7 10 11 13
f(x) 48 100 294 900 1210 2028

.(d) Find 𝑓(0.2) from this table.

x 0 1 2 3 4 5 6
f(x) 176 185 194 203 212 220 229

(e) Find 𝑓(6) , using Lagrange’s interpolation method, if 𝑓 1 = 2, 𝑓 2 = 4, 𝑓 3 = 8, 𝑓 4 =


16, 𝑓 7 = 128.
6 𝑑𝑥
38. Evaluate 0 (1+𝑥)2 , by simpson’s 1/3rd rule taking n=6.

1
39. Evaluate 0
𝑐𝑜𝑠𝑥 𝑑𝑥 by taking n=5.

1 𝑑𝑥
40. (a) Evaluate 0 1+𝑥 2
, by simpson’s 1/3rd rule and Trapezoidal rule and then compare the
result.
(b) A river is 70 m wide. The depth y of the river at a distance x from one bank is given
by the following table:
X 0 10 20 30 40 50 60 70
Y 0 4 7 9 12 8 5 2
Find the approximate area of cross-section of the river using numerical integration. Explain
the reason behind your choice of the integration formula used.

41. (a) Derive the error term of trapezoidal rule


5
(b) Find the value of 1 lo𝑔10 𝑥 𝑑𝑥 taking eight equal sub-intervals correct upto 4-decimal
place by (i) Simpson 1/3 rule and by (ii) Trapezoidal rule

42. (a) Find a root of 𝑥 3 − 4𝑥 − 9 = 0 by Regula-Falsi method, correct upto three


significant figure.

(b) Using the method of Bisection compute a real root of 𝑥 3 − 9𝑥 + 1 = 0 in [2,3], correct
up to three significant figures.

43. Find a root of 𝑥 3 + 2𝑥 − 6 = 0 by Newton-Raphson method, correct upto three


significant figure.

44. (a) Using the method of Bisection compute a root of 𝑥 3 − 3𝑥 − 5 = 0 correct up to four
significant figure.

(b) Give Geometrical interpretation of Newton-Raphson method and Regula Falsi


method.
(c) Using the method of Bisection compute a root of 𝑥 3 − 2𝑥 − 5 = 0 in [2,3], correct up
to 3-decimal places.

4
45. (a) Find the positive real root of 𝑥 3 − 𝑥 2 − 1 = 0 using the Bisection method after 4
iterations.
(b) Using Neton-Raphson method compute a root of 𝑥 4 − 𝑥 − 1 = 0 correct up to four
significant figure.
c) Find the positive real root of 𝑥 3 − 𝑥 − 0.1 = 0 using Regula Falsi method.
d) ) Find a root of 𝑥 3 − 𝑥 − 4 = 0 in [3,4] ,by Newton-Raphson method, correct
upto 4-decimal places.
e) Find a positive root of 𝑥 3 − 5𝑥 − 7 = 0 between 2 and 3 by Regula-Falsi method,
correct upto three significant figure.
𝑑𝑦
46. (a) Compute 𝑦(0.1), 𝑦(0.2), 𝑦(0.3) from the equation − 1 = 𝑦 2 , 𝑦 0 = 0 taking
𝑑𝑥
𝑕 = 0.1 by Euler’s method.

(b) Using Taylor’s series method compute 𝑦(0.3) correct up to five decimal places from
𝑑𝑦
= 𝑥 𝑦 − 2 given 𝑦 0 = 3
𝑑𝑥

𝑑𝑦
c) Compute 𝑦 1.1 , by Runge- Kutta method of 4th order from the equation = 𝑥2 + 𝑦2,
𝑑𝑥
𝑦 0 =1
𝑑𝑦
(d) Compute 𝑦(0.15) from the equation = 𝑥 2 + 𝑦 2 , 𝑦 0 = 0 taking 𝑕 = 0.05 by
𝑑𝑥
Euler’s method correct upto 4-decimal places.

47. a) Using finite difference method, solve the following boundary value problem:

𝑑2 𝑦
+ 𝑦 + 1 = 0 with 𝑦 0 = 0, 𝑦 1 = 0.
𝑑𝑥2
𝑑𝑦
(b) Compute 𝑦(0.4), from the equation = 1 + 𝑥𝑦 , 𝑦 0 = 2, 𝑦 0.1 = 2.1103,
𝑑𝑥
𝑦 0.2 = 2.2430 , 𝑦 0.3 = 2.4011 by Milne’s method.
𝑑𝑦 1
(c) Compute 𝑦(0.1), by Runge- Kutta method of 4th order from the equation = 𝑥+𝑦 ,
𝑑𝑥
𝑦 0 =1 (Ans: 1.0914)
𝑑𝑦
(d) Compute 𝑦(1), correct upto five decimal places from the equation = 𝑥𝑦 ,
𝑑𝑥
𝑦 0 = 1 taking 𝑕 = 0.2 by Euler’s method. (Ans: 1.45926)
𝑑𝑦
(e) Compute 𝑦(1), by Runge- Kutta method of 4th order from the equation = 𝑦−𝑥 ,
𝑑𝑥
𝑦 0 = 1.5 . (Ans:3.36)

48. Solve by Gauss Elimination method


𝑥+𝑦+𝑧 =3
𝑥 + 2𝑦 + 3𝑧 = 4
𝑥 + 4𝑦 + 9𝑧 = 6
(Ans. 𝑥 = 1, 𝑦 = 2, 𝑧 = −1)
49. Solve by Gauss-Seidal iterative method
10𝑥 − 𝑦 − 𝑧 = 13

5
𝑥 + 𝑦 − 10𝑧 = −35
𝑥 + 10𝑦 + 𝑧 = 36
(Ans. 𝑥 = 3, 𝑦 = 3, 𝑧 = 4)
50. Solve by LU decomposition method
3𝑥 + 4𝑦 + 2𝑧 = 15
5𝑥 + 2𝑦 + 𝑧 = 18
2𝑥 + 3𝑦 + 2𝑧 = 10
(Ans. 𝑥 = 3, 𝑦 = 2, 𝑧 = −1)
51. Solve by Gauss-Seidal iterative method

5𝑥 − 2𝑦 + 𝑧 = −4
𝑥 + 6𝑦 − 2𝑧 = −1
3𝑥 + 𝑦 + 5𝑧 = 13
(Ans. 𝑥 = −1, 𝑦 = 1, 𝑧 = 3)

You might also like