Unit4 NumericalMethods (MCS MES MCV MME)
Unit4 NumericalMethods (MCS MES MCV MME)
Unit4 NumericalMethods (MCS MES MCV MME)
➢ Newton-Raphson method
f ( xn )
The iterative formula is xn+1 = xn − .
f ( xn )
If a root exists in the interval ( a, b ) then x0 = a or x0 = b or x0 = any point between a and b or
a+b
x0 = could be taken as the initial approximation.
2
f (x0 )
For n = 1, x1 = x0 − 1st approximation/iteration
f ' (x0 )
Page 1 of 10
Unit 4: Numerical Methods-1
f ( x1 )
For n = 2 , x2 = x1 − 2nd approximation/iteration
f ' ( x1 )
1. The following table gives a set of values of x and the corresponding values of y = f ( x )
x 10 15 20 25 30 35
y 19.97 21.51 22.47 23.52 24.65 25.89
Form the forward difference table and write down the values of f (10), 2 f (10), 3 f (15) and
4 f (15) .
2. Given u0 = 3 , u1 = 12 , u2 = 81 , u3 = 200 , u4 = 100 and u5 = 8 find 5 y0 .
3. Construct a finite difference table for the function f ( x ) = x3 + x + 1 where x takes the values 0,
1, 2, 3, 4, 5, 6. Identify the leading forward differences.
4. Form a table difference for the function f ( x) = x3 + 5x − 7 for x = −1 , 0, 1, 2, 3, 4, 5. Show
that the third differences are constant. Continue the table to obtain f ( 6) .
5. Identify the missing value from the following table:
x 0 1 2 3 4
y 1 3 9 ? 81
Where x = x0 + ph .
➢ Newton’s Backward Interpolation Formula
q ( q + 1) 2 q ( q + 1)( q + 2 ) 3 q ( q + 1)( q + 2 )( q + 3) 4
y = yn + q yn + yn + yn + yn + ...... .
2! 3! 4!
Where x = xn + qh .
1. The following data gives the melting point of an alloy of lead and zinc, where t is the
temperature in C and p is the percentage of lead in the alloy.
p ( % ) 60 70 80 90
t 226 250 276 304
Find the melting point of the alloy containing 84% of lead, using Newton’s interpolation
formula. Ans: f ( 84 ) = 286.96 .
Determine i at t = 0.23s .
3. Using Newton’s forward formula, compute the pressure of the steam at temperature 1420 from
the following steam table.
Temperature 140 150 160 170 180
Pr essure 3.685 4.854 6.302 8.076 10.225
4. The following table give the values of tan x for 0.10 x 0.30 . Find tan ( 0.26 ) .
12. If the number of persons earning below 1000 is 6000, estimate the number of persons having
incomes between 2000 and 2500 from the following data:
Income 1000 − 2000 2000 − 3000 3000 − 4000 4000 − 5000
No. of Persons 4250 3600 1500 650
13. A survey conducted in a slum locality reveals the following information as classified below.
Income per day ( Rs ) under 10 10 − 20 20 − 30 30 − 40 40 − 50
No. of Students 20 45 115 210 115
Estimate the probable number of persons in the income group 20 to 25.
14. Compute u14.2 from the following table by applying Newton’s backward interpolation
formula.
x 10 12 14 16 18
ux 0.24 0.281 0.381 0.352 0.384
15. Use Newton’s forward interpolation formula to find y35 given y20 = 512 , y30 = 439 , y40 = 346
, and y50 = 243 .
16. Find the missing term in the following table using appropriate interpolation formula:
x 0 2 4 6 8
y 14 15 5 ? 9
17. Find f ( 2.5) by using Newton’s backward interpolation formula given that f ( 0) = 7.4720 ,
f (1) = 7.5854 , f ( 2) = 7.6922 , f ( 3) = 7.8119 , f ( 4) = 7.9252 .
18. Apply Newton’s backward formula to find the cubic polynomial satisfying f ( −4) = −25 ,
f ( −2) = 1 , f ( 0) = 3 , f ( 2) = 29 , f ( 4) = 127 and hence find f ( 3) and f ( 5) .
19. Compute f (1.22) with the help of forward difference table for the following data.
x 1.0 1.1 1.2 1.3 1.4
f ( x ) 0.841 0.891 0.932 0.963 0.985
20. From the following data estimate the numbers of students who have scored less than 70
marks.
Marks 0 − 20 20 − 40 40 − 60 60 − 80 80 − 100
No. of Students 41 62 65 50 17
y=
( x − x1 )( x − x2 ) ... ( x − xn ) y + ( x − x0 )( x − x2 ) ... ( x − xn ) y
( x0 − x1 )( x0 − x2 ) ... ( x0 − xn ) 0 ( x1 − x0 )( x1 − x2 ) ... ( x1 − xn ) 1
.
+ ... +
( x − x0 )( x − x1 ) ... ( x − xn −1 )
y
( xn − x0 )( xn − x1 ) ... ( xn − xn−1 ) n
x 5 7 11 13 17
1. Given the values evaluate f ( 9 ) using Lagrange’s
f ( x ) 150 392 1452 2366 5202
interpolation formula Ans: f ( 9 ) = 810
x 5 6 9 11
2. Use Lagrange’s interpolation formula to find y at x = 10 given
y 12 13 14 16
Ans: f (10 ) = 19.5
3. The following table gives the viscosity of an oil as a function of temperature. Use Lagrange’s
formula to find viscosity of oil at a temperature of 140 .
Numerical Integration
b x0 + nh
I = y dx =
a
f (x ) dx
x0
x0 + nh
3h
f ( x ) dx = ( y0 + yn ) + 3 ( y1 + y2 + ... + yn −1 ) + 2 ( y3 + y6 + ... + yn −3 ) .
x0
8
▪ When n = 12
x0 + nh
e
th 1/ x
4. Use Simpson’s 3/8 rule to evaluate dx . Ans 4.9257
1
1
xdx
1+ x
th
5. Evaluate 2
by Simpson’s 1 3 rule (or 3 8 ) taking seven ordinates and hence find
0
loge 2.
/2
6. Find the approximate value of cos d by Simpson’s 1/3rd rule by dividing 0, into 6
2
0
equal parts. Ans: 1.1873
/2
7. By using Simpson’s 3/8th rule, evaluate 0
esin d . Ans:3.1028
8
dx
8. Use Simpson’s 1/3 rule with seven ordinates to evaluate
rd
log
2 10 x
Ans: 9.7203
0.6
e − x dx by taking 6 sub-intervals.
2
9. Use Simpson’s 1/3 rule to find rd
Ans: 0.5351
0
10. Given that
x 4 4.2 4.4 4.6 4.8 5 5.2
y = log e x 1.3863 1.4351 1.4816 1.5261 1.5686 1.6094 1.6487
5.2
x2 −1
12. By using Simpson’s 3/8th rule with h= 0.2 find the approximate area under the curve y =
x2 + 1
between the ordinates x = 1 and x = 2.8. Compare the result with the exact result.
Ans: 0.9152 Exact: 0.9152
13. Find the distance travelled by a train between 8.20 AM and 9 AM from the following data.
Time 8.20 am 8.30 am 8.40 am 8.50 am 9 am
Speed (miles/hour) 24.2 35 41.3 42.8 39.4
Ans: 25.411 miles
14. A plane area is bounded by a curve, the x – axis and two extreme ordinates. The area is divided
into six figures by equidistant ordinates 2 inches apart, the heights of the ordinates being 21.65,
21.04, 20.35, 19.61, 18.75, 17.80 and 16.75 respectively. Find the approximate value of the areas
by numerical integration. ` Ans: 233.616 sq. inches
15. Use Simpson’s rule to compute the area bounded by the curve y = f(x), x – axis and the extreme
ordinates from the following table.
x 0 1 2 3 4 5 6
Ans:11.49sq units
y 0 2 2.5 2.3 2 1.7 1.5
16. A solid of revolution is formed by rotating about the x – axis the area between the x – axis, the
lines x = 0 and x = 1 and a curve through the points with the following co-ordinates.
x 0 0.25 0.5 0.75 1
y 1 0.9896 0.9589 0.9089 0.8415
Using the Simpson’s rule, find the volume of the solid formed. Ans: (0.897395)𝝅
17. A river is 80 feet wide. The depth d in feet at a distance ‘x’ foot from one bank is given by
x 0 10 20 30 40 50 60 70 80
d 0 4 7 9 12 15 14 8 3
Find approximately the area of cross section of the river. Ans: 710 sq. feet
18. The velocity ‘ v ’ of a particle at distance ‘ s ’ from a point on its path is given by the table:
s ( ft ) 0 10 20 30 40 50 60
(
v fts −1
) 47 58 64 65 61 52 38
Estimate the time taken to travel 60 ft by using Simpson’s 1 3 rd rule. Ans: 1.062s
19. The velocity v(km/min) of a moped which starts from rest, is given at fixed intervals of time
t(min) as follows:
t 2 4 6 8 10 12 14 16 18 20
v 10 18 25 29 32 20 11 5 2 0
Estimate approximately the distance covered in 20 minutes. Ans: 309.33km
6
dx
20. Find the value of
th
by Simpson’s 1 3 rule (or 3 8 ), Hence obtain approximate value of
2
x
loge 2 . Ans: 0.693
21. A curve is drawn to pass through the points given by the following table:
h ( ft ) 10 11 12 13 14
A ( sq. ft.) 950 1070 1200 1350 1530
dh −48h
If t denotes time in minutes, the rate of fall of the surface is given by = .Estimate the
dt A
time taken for the water level to fall from 14 to 10ft above the sluices.
2 𝑡 2⁄ )
26. The growth rate of a certain tree (in feet) is given by 𝑦 = + 𝑒 −( 2 ,
1+𝑡
where 𝑡 is time in years. Estimate the growth of the tree at the end of the second year by
applying Simpson’s 1 3 rule of integration by dividing time interval in to four equal
subintervals. Present your answer after rounding to the nearest hundredth.
27. The vertical distance covered by a rocket from t = 0 and t = 4 seconds is given by an
4 14
integral ∫0 (2 𝑙𝑜𝑔 ( ) − 9.8𝑡) 𝑑𝑡 using Simpson’s 3/8th rule of integration for step
14−2𝑡
size ℎ = 2 and ℎ = 1.
28. Given that
x 4 4.2 4.4 4.6 4.8 5 5.2
y = log e x 1.3863 1.4351 1.4816 1.5261 1.5686 1.6094 1.6487
5.2
29. 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
Apply Weddle’s rule, estimate the area bounded by the curve, the x-axis and the lines
x = 1, x = 4 . Ans: 3.032
6
dx
30. Evaluate 1+ x
0
2
by using Weddle’s rule. Ans: 1.4056