Beruflich Dokumente
Kultur Dokumente
Changunarayan, Bhaktapur
Subject: Numerical Methods
Subject Code: MTH 317.3 Tutorial No.: 3
Title: Numerical Differentiation and Integration Date: Dec,20, 2006
1. Find dy/dx at x = 0.7 and 1.3 from the following table.
x 0.7 0.8 0.9 1.0 1.1 1.2 1.3
y 0.644218 0.717356 0.783327 0.841471 0.891207 0.932039 0.963558
2. Find dy/dx and d2x/dx2 of y = x1/3 from the following data at x = 51. Compare the results with the exact values.
x 50 51 52 53 54 55 56
y 3.684 3.7084 3.7325 3.7563 3.7798 3.8030 3.8259
5. Calculate the area bounded by the curves y = x - 4 and y = x + 4, and the lines x = 1 and x = 4 by Newton
Cotes 2 ordinates formula, using more than 4 subintervals.
7
(x
2
6. Evaluate I .log x) dx using Simpson's 1/3 rule and initial interval of 1. Go on
3
halving the interval and find the integral with relative error less than 0.01.
1
1
7. Evaluate I = 1 x
0
2
dx correct up to 3-decimal places with h = 1/6 and 1/12 by Simpson's 1/3 and
11. A curve is drawn to pass through the points given by the following table.
x 1 1.5 2 2.5 3 3.5 4
y 2 2.4 2.7 2.8 3 2.6 2.1
Estimate the area bounded by the curve, and the lines y = 1, x = 1, x = 4.
12. A river is 80 ft. wide. The depth d in ft. at a distance x ft. from one bank is given by the following table.
x 0 10 20 30 40 50 60 70 80
y 0 4 7 9 12 15 14 8 3
Find approximately the area of the cross-section and the mean depth of the river.
(3x 2 5) 3 dx (x
2
following integrals using I I y 2 1) 2.5 dx dy
3 2 3
(i)) 4 ordinate Gauss-Legendre quadrature
23. Evaluate the following integrals using the 2, 3, 4- ordinate Gauss-Laguerre quadrature.
x 0.5
e x dx 0.16776(exact) e
x
I I cos x dx 0.50(exa
(x 4)
0 0
2 2
I x e x dx I e x cos x dx
e
x 2
I sin x dx
0
I (3 x 2 5) 3 dx I ( x 2 y 2 1) 2.5 dx dy
3 2 3
I xe x2
I e x cos x dx
2
dx
Old questions from Chapter 3 in Final Examination (2053 BS and 2054 BS, Tribhuvan University)
7
1 a) Write a program to find I ( x .log x ) dx using Simpson's 1/3 rule and initial interval
2
of 1. Go on halving the interval and find the integral with relative error less than 0.001.
b) Write a flowchart to calculate the area under the curve by Trapezoidal rule.
2 a) Find dy/dx and d2x/dx2 of y = x1/3 from the following data.
X 50 51 52 53 54 55 56
Y 3.684 3.7084 3.7325 3.7563 3.7790 3.8030 3.8259
(at x=50, 0.02455, -0.0003)
1
1
b) Evaluate I = 1 x
0
2
dx correct up to 3-decimal places with h = 0.25 and 0.125 by Simpson's 1/3