Lab Question Revised
Lab Question Revised
1(a) Estimate the area bounded by the curve Numerical Methods Lab (BSM 491)
y = f(x), x-axis and the ordinate x = 0 and
1.0
( 4 x − 3x ) dx by
x = 3 from the following table 2
2(c) Calculate
0
x: 0 0.5 1.0 1.5 2.0 2.5 3.0
f(x): 1 2.1 3.2 4.0 5.1 6.2 7.2 Weddle’s rule taking 13 ordinates, correct to
5 decimal places.
0.6
dx
1(b) Evaluate 1 − x2
by Simpson’s 1/3
1.0
0 x
rule taking 13 ordinates correct up to 5
2(d) Calculate 1+ x
0
2
dx by Weddle’s
significant figures.
rule taking n=12, correct to 5 decimal places.
1
1.6
1(c) Evaluate x + x dx by Simpson’s
1.2 1.0
e dx by Weddle’s rule
−x 2
1/3 rule taking n=12 correct up to 5 2(e) Calculate
significant figures. 0
dy
1.0 = xy, y (1) = 1 , h=0.1 correct to 5
x (1 − x ) dx by dx
2
2(b) Calculate
0.2 decimal places.
Weddle’s rule taking 13 ordinates, correct to
three decimal places.
3 (d) Using Runge-Kutta method of order 5. (a) Find a root of the equation
2 to calculate y (0.2) for the equation x3 − 2 x − 5 = 0 , by Regular-Falsi method
correct upto 4 decimal places.
dy
= x 2 + y 2 , y (0) = 0 , h=0.1
dx
correct to 5 decimal places.
5. (b) Find a root of the equation
x3 − 5x − 7 = 0 , by Regular-Falsi method
correct upto 4 decimal places.
3 (e) Using Runge-Kutta method of order
2 to calculate y (0.2) for the equation
4(a) Find the roots of the equation 5. (d) Find a root of the equation
x3 − 8x − 4 = 0 , which lies between 3 and 2 x3 − 3x − 6 = 0 , by Regular-Falsi method
4, by Newton- Raphson Method, correct to correct upto 4 decimal places.
four decimal places.
dy
= 3x + y 2 , y (0) = 1 ,
dx
4 (e) Find the positive roots of the equation h=0.1 correct to 5 decimal places.
e − 2 x + 1 = 0 by Newton-Raphson
x
to calculate y(1.2) for the equation
7 (d) Find the value of cos d by
0
dy
= xy, y (1) = 1 , Trapezoidal rule taking n=6, correct to four
dx decimal places.
h=0.1 correct to 5 decimal places.
dy y − x
7 (b) Use Trapezoidal rule to evaluate y(0.05) for the equation =
1.5 dx y + x
(ln x) dx , taking 12 equal intervals,
2
,y(0)=1, h=0.01 correct upto four decimal
1.0
places.
correct to 5 decimal places.
8 (d) Using Euler’s methods to calculate
dy
3 y(0.05) for the equation = x2 − y
7(c) Evaluate x
−1
dx by Trapezoidal rule dx
,y(0)=1, h=0.01 correct upto four decimal
taking 12 ordinates, correct to 5 decimal places.
places.
8 (e) Using Euler’s methods to calculate
dy 1
y (1) for the equation = ,y(0)=1.5,
dx x + y
h=0.02 correct upto four decimal places.
x 3 4 5 6 7 8
f (x) 27 64 125 216 343 512
x 14 17 31 35
f (x) 68.5 64.0 44.0 39.1
x -1 0 2 3
y(x) -8 3 1 2